Jump to content


Photo

Jph's First Caanoo Game


  • Please log in to reply
14 replies to this topic

#1 jph_iterationGAMES

jph_iterationGAMES

    GP32 User

  • Members
  • PipPipPip
  • 39 posts
  • Gender:Male
  • Location:Torontro
  • Interests:game dev, sound design, music, modeling, algorithmic game growing,. things like that.

Posted 02 November 2010 - 05:47 PM

Ok, I have been messing about with nlove the beta of the Love2D Game-Engine runtime ported by SiENcE. It is quite fun to get something running on the Caanoo. I have a basic game working, just a very simple robotron style shooter,. Stick to move, YAXB to fire in the four cardinal directions. If you get the game over message you can press Help I to restart. Screen wraping is availible for both you and the green things,. how long can you survive?

you need;
http://www.gp32x.com/board/index.php?/topic/57182-nlove-062-beta-love2d-for-caanoo/page__p__924286__hl__nlove__fromsearch__1&#entry924286

Then just rename the jph.zip to jph.love and drop jph.love in with the other loves and launch with the pickel,. .

Don't bother looking at my code as it is a huge mess and just a bunch of crude hackery anyway,. I am doing this to learn Lua and Love and I don't know much about them yet, however I like to get something working before I learn the 'right' way to do it ;)
Please post any bugs or issues you notice. Also if anyone knows how to pack this up into a single game distribution I would like to know that too,. thanks.

UPDATE; again,. CCZap is the latest, now with sounds.

Attached Files


Edited by jph_iterationGAMES, 24 November 2010 - 08:02 PM.


#2 Thorax

Thorax

    GP32 User

  • Members
  • PipPipPip
  • 92 posts
  • Gender:Male
  • Location:Bavaria

Posted 02 November 2010 - 09:14 PM

first of all: thx for the game :)
i think u should've told us the controls. i didn't think about shooting in the first place so i tried to dodge the squares which was pretty challenging :D
so with shooting it's ok :)
noticed one bug so far: i u get killed on a spot where a green square spawns (e.g. lower boarder) u will be game over all the time even after ingame restart. respawning in the middle would be nice :)

otherwise...funny and challenging. Highscore list would be nice ;)

#3 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 02 November 2010 - 10:04 PM

Oh nice to see the first Love Game comming :-D.

When i finished sound and fixed some bugs on nLove we should really think about an 1day or 1week compition making a Love game.

#4 paul3100

paul3100

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 112 posts
  • Gender:Male
  • Location:uk

Posted 03 November 2010 - 08:50 AM

Nice one , thanks for the game

paul3100

#5 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 03 November 2010 - 12:18 PM

This Game is challenging. I like it!

Line 241 can couse an Error:

love.graphics.setColor( math.random()*255, math.random()*255, 0, 255)	


Also set the build-in font:
wrong:
font = love.graphics.newFont(love._vera_ttf, 10)

right:
font = love.graphics.newFont(10)


Would be cool if you enhance the Game. Make Levels.

If you can, please add PC and Dingoo Controlls. Thx :-D!

The next release of nLove includes functions to detect the Platform (PC/Dingoo/Caanoo/Nanonote). I'm also adding more Love2d functions for compatibility.

#6 jph_iterationGAMES

jph_iterationGAMES

    GP32 User

  • Members
  • PipPipPip
  • 39 posts
  • Gender:Male
  • Location:Torontro
  • Interests:game dev, sound design, music, modeling, algorithmic game growing,. things like that.

Posted 04 November 2010 - 05:28 PM

Thanks guys,. I did the suggested changes, and many improvments! Updated in first post. It is now 'done' except for the sounds (when availible I will add some) and perhaps also add saving the high score to the SD card. It currently keeps your high for the session but does not save this data. SiENcE - do the file writing/reading functions currently work? I will have a look and do some tests.

Anyway, now the game is about getting the highest score before the timer runs down. I did this to add a bit of stratagy to the game play. As the Greens are worth 25 points, and the Orange Mines are only worth 5 points, it now makes more sence to try to shoot the Greens while just avoiding the Mines.

I also tweeked back the particle explosions to keep a quite steady 51 FPS (press Help II to toggle FPS display), as well as re-tweeking most everything else.

SiENcE- I will add the controls for those other systems when the next ver. with the platform detect is done,. .

I am now going to go back and see if I can figure out a more object oriented approach for my codeing, and learn more Lua and Love functions. Thanks for trying this.

#7 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 05 November 2010 - 01:20 AM

Nice.

I'm fiddling with the sound. OpenAL works but i think its to slow for Caanoo. I have to test it tomorrow.

I'm also thinking about an short love App. using the build-in lua-socket to download a gamelist of love files. The user can select a love file and download. What you think about it?


Anyway good work!

#8 joyrider

joyrider

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 586 posts

Posted 05 November 2010 - 12:32 PM

Btw when sound is done, you could use SFXR this is a really must have tool for hobby (game) developpers.. It's been ported to sdl as well as far as i know but that's irelevant..

SFXR is a tool that will generate all kind of (8-bitish) sounds for based on a few parameters you give it, it was created on a ludum dare event by peter, for the people that create games there ..

here is the link :
http://www.drpetter.se/project_sfxr.html

#9 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 05 November 2010 - 03:01 PM

hi joyrider,

nlove should be compatible with Love2d. thats why i dont add own stuff.

Some time ago i also suggested to add sfxr to Love2D as you can read here.

I have to talk with bartbes (love2d developer) again about sfxr.

#10 jph_iterationGAMES

jph_iterationGAMES

    GP32 User

  • Members
  • PipPipPip
  • 39 posts
  • Gender:Male
  • Location:Torontro
  • Interests:game dev, sound design, music, modeling, algorithmic game growing,. things like that.

Posted 06 November 2010 - 02:53 PM

I actualy would generate my oun sounds,. seems to be some code for procedural sound around the love forum,. or just use a synth and make samples. sfxr is a nice little app for doing simple sounds for sure. However, I have some old analog sysnths kicking around and like to tweek physical knobs/sliders/switches to produce these types of sounds,. . or use BUZZ [ http://buzzmachines.com/ ] to do it digitaly on the pc, gives a bit wider range of posiblities;

http://iterationgames.com/pmwiki/pmwiki.php?n=Music.Music

#11 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 07 November 2010 - 08:21 PM

We got sound working using tremor. So ogg is supported.

http://www.youtube.com/watch?v=7JFIf5GtXu4

#12 SiENcE

SiENcE

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 205 posts

Posted 21 November 2010 - 02:33 PM

new nLove 0.7.0 with sound support

->> http://crankgaming.blogspot.com/2010/11/nlove-070-beta-love-for-caanoo-handheld.html

#13 jph_iterationGAMES

jph_iterationGAMES

    GP32 User

  • Members
  • PipPipPip
  • 39 posts
  • Gender:Male
  • Location:Torontro
  • Interests:game dev, sound design, music, modeling, algorithmic game growing,. things like that.

Posted 24 November 2010 - 08:05 PM

New update in first post now with a bit of sound effects and music added. Plus many other improvments.

#14 Hooka

Hooka

    That Guy!

  • GP Guru
  • 1448 posts
  • Location:Canada

Posted 24 November 2011 - 01:04 AM

Wow, cool stuff jph, and thanks for the improvements to the nlove port sience!

#15 kayuz

kayuz

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 559 posts
  • Gender:Male

Posted 29 November 2011 - 04:06 PM

nice one!! i haven't seen this before! very small time for the caanoo, this time :((