Jump to content



Photo

Lua Worms


  • Please log in to reply
14 replies to this topic

#1 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 02 October 2005 - 01:19 PM

Hi everyone! I tried to program a Worms for CPLua.
You can download it here:Lua_Worms_Eng.rar
And if you are French... Lua_Worms_Fra.rar

This is just a test program, so don't expect a wonderful game! :P
I need some functions which are not yet in CPLua, but that doesn't matter. I'll program it in C++, it's better! ;)


PAP -> I know that you hate games, but please, no comments!
_____________________
ClassPad's CAS is enough powerful. Upgrade the games!

#2 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 02 October 2005 - 09:59 PM

PAP -> I know that you hate games, but please, no comments!

Ok, no comments. I just want to say that you are wrong: I don't hate games. Will you dare to confront me in Half-Life 2 or StarCraft? I'm really tough in these games. :greengrin:

ClassPad's CAS is enough powerful. Upgrade the games!

I really like your sense of humor :plol:. But, unfortunately, ClassPad's CAS is not powerful, and I think you know it...

C++ is rotten. Use Fortran 95 if you want to write something serious. ;)

#3 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 02 October 2005 - 10:03 PM

Nice work Kilburn, I'm gonna test it soon :)

Thinking about that, I have got a video of the full game HL?, completed in only 2h15. :blink: It took me more than 2 days to complete it :nonono: What about you? :lol2:

#4 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 02 October 2005 - 10:19 PM

Thinking about that, I have got a video of the full game HL?, completed in only 2h15. :blink: It took me more than 2 days to complete it :nonono: What about you? :lol2:

It took me two days to finish HL? as well (but in the hard level, saving the game status often). If you are suspicious, try to beat me, if you dare :greengrin:. I'm not a gamer, but HL? has a perfect gameplay, and excellent graphics. That's why I'm not interested in ClassPad games, btw ;)

#5 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 02 October 2005 - 10:39 PM

HL? : Lost Coast is coming soon btw :nod:

But let's stop polluting Kilburn's topic :lol2:

#6 BiTwhise

BiTwhise

    Casio Overgod

  • [Legends]
  • PipPipPipPipPipPipPip
  • 627 posts
  • Gender:Male
  • Location:Guildford, Surry, UK
  • Interests:Programming, games, consoles, martial arts

  • Calculators:
    FX9700WE, CFX9970G, AFX2.0, Classpad 300

Posted 03 October 2005 - 01:10 AM

Ok, no comments. I just want to say that you are wrong: I don't hate games. Will you dare to confront me in Half-Life 2 or StarCraft? I'm really tough in these games. :greengrin:

C++ is rotten. Use Fortran 95 if you want to write something serious. ;)


I'd like to see them write HL2 or Starcraft in Fortran. :P

#7 omegavirus

omegavirus

    Casio Freak

  • Members
  • PipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Morelia, M?xico

  • Calculators:
    ClassPad 300

Posted 03 October 2005 - 02:10 AM

=) the english version seems to be in french, nice game Kilburn, also PAP has the reason the CAS is not good and slow in some aplications compared whit the voyage 200

Orwell must be the owner of a camera (like the one given in the contest) or something better for CPLua

#8 PAP

PAP

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 681 posts
  • Gender:Male
  • Location:Somewhere in Europe.
  • Interests:Computer Algebra, Numerical Analysis.

  • Calculators:
    ClassPad 300 (plus an old Casio model, with only a few Kb ram).

Posted 03 October 2005 - 08:35 AM

I'd like to see them write HL2 or Starcraft in Fortran. :P

Fortran is mainly a mathematical programming language that facilitates programming mathematical applications. It is simply not suitable for game programming (although it can be done; I've seen OpenGL programs written in Fortran). But Fortran is not made for this, and ClassPad is not a game platform as well. What I said about the "rotten C++" was obviously a joke, as an answer to Kilburn's joke.
The CPLua interpreter is fast enough to write games, but, if the game is complex, the interpreter shows its limitations, concerning speed. It is, however, much faster than CP Basic. If you are not using the SDK, CPLua is currently the best way to write a game for ClassPad, for whoever is interested to do so.

#9 BiTwhise

BiTwhise

    Casio Overgod

  • [Legends]
  • PipPipPipPipPipPipPip
  • 627 posts
  • Gender:Male
  • Location:Guildford, Surry, UK
  • Interests:Programming, games, consoles, martial arts

  • Calculators:
    FX9700WE, CFX9970G, AFX2.0, Classpad 300

Posted 03 October 2005 - 01:29 PM

Fortran is mainly a mathematical programming language that facilitates programming mathematical applications. It is simply not suitable for game programming (although it can be done; I've seen OpenGL programs written in Fortran). But Fortran is not made for this, and ClassPad is not a game platform as well. What I said about the "rotten C++" was obviously a joke, as an answer to Kilburn's joke.
The CPLua interpreter is fast enough to write games, but, if the game is complex, the interpreter shows its limitations, concerning speed. It is, however, much faster than CP Basic. If you are not using the SDK, CPLua is currently the best way to write a game for ClassPad, for whoever is interested to do so.

I know Fortran is a mathematical language, my remark was obviously a joke as well :)
I'm sure the Lua interpreter is more than fast enough to execute most game logic. For most games, all that's needed would be a fast sprite library that can be accesses from Lua, with drawing, loading, moving, colission detection, etc.

Every language, or every language paradigm, has its place, and mathematical programs aren't the only "serious" programs ;)
While Fortran makes it easier to write the mathematical logic, it doesn't make any difference to the final user of the application which language it's been written in. On a platform like the classpad, I don't think you can rely on a language like Fortran (or Lua) for really heavy operations... you need to go lower level to squeeze more performance out of the limited hardware.

#10 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 04 October 2005 - 08:46 PM

ClassPad's CAS is enough powerful. Upgrade the games!

I was not serious!

#11 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 05 October 2005 - 04:35 PM

Here is a new version: Lua_Worms.rar
I included a secret cheat code which gives 2000 points to each worm and allow you to use 4 new weapons.

But you will have to search it in the source code... I won't tell it to you! :blah:

#12 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 07 October 2005 - 07:16 PM

ok, ok, I'll tell you the code, it is simple:
In the menu press these buttons:

Down,Down,Down,Up,Up,Up,Down,Down,Up,Up,Down,Up,EXE

Now you have unlocked the secret mode. B)

#13 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 09 October 2005 - 09:37 AM

Is there somebody here? :(

#14 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 09 October 2005 - 10:19 AM

Yes, but quite busy ;)


Kilburn: T'inqui?te pas, c'est pas parce que les gens ont la flemme de r?pondre ? tes topics qu'ils ne sont pas int?ress?s par tes progs :rolleyes:

#15 omegavirus

omegavirus

    Casio Freak

  • Members
  • PipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Morelia, M?xico

  • Calculators:
    ClassPad 300

Posted 10 October 2005 - 04:16 AM

si leo kilburn y si me gusta tu juego espero hagas un add in de el.

no se que dice Orwell pero me imagino que es que solo posteamos si tenemos algun problema con algo pero no para felicitar =)

Good Game kilburn, made in the best add-in of the class pad made by Orwell (Casio's redentor)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users