Jump to content


Photo

Pandora Panic


  • Please log in to reply
1209 replies to this topic

#76 Kagato

Kagato

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 253 posts

Posted 31 October 2008 - 01:29 AM

My time is limited, but if you need any specific sprites or graphics I'd be willing to put something together for you. Just send me a PM with the details.

Some (outdated) examples of my work at http://www.studiokagato.com
Games at http://www.studiokagato.com/game.php
General portfolio at http://www.studiokagato.com/portfolio/

#77 trabitboy

trabitboy

    Member

  • Members
  • PipPip
  • 25 posts

Posted 31 October 2008 - 09:00 AM

QUOTE(PokeParadox @ Oct 30 2008, 09:13 PM) View Post

I checked the blog and the pictures look nice! I tried to practice my rusty french too laugh.gif


hi poke and thx for the nice comment,
your french is quite decent !

back on topic a repetitive strain injury is preventing me from hitting my deadline,
so I expect to finish next week.
I'll do some paper flipbook pics for an other minigame this weekend in the meantime,
it doesn' strain like keyboard. unsure.gif

will definitely finish though ph34r.gif pandora2ut4.png

#78 PokeParadox

PokeParadox

    Founder of Pirate Games - Penjin Coder

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3908 posts
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 01 November 2008 - 02:44 AM

Another status update:
Pandordered score screen has gone in and everything seems to be working fine with both score tables.

I've been bug hunting and I fixed bugs with the particle engine. It wasn't respecting lifetime values.
I've also tweaked particle fading and such

I'm hoping with some graphic work and little bit more code the Engine part of PandoraPanic! can be classed as complete so I can work on my minigames for the project!

#79 Mithrildor

Mithrildor

    I Haz Custom Title

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1335 posts
  • Location:Nijmegen, The Netherlands

Posted 01 November 2008 - 10:50 AM

Hey,

Kagato! I was already thinking where i have seen youre name, seems like you have been active on the infinity project to! Can you port Electrics to the pandora ? It looks really kewl!

#80 MarkoeZ

MarkoeZ

    arr matey?

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

Posted 01 November 2008 - 04:05 PM

i warned you about noob questions tongue.gif

Another: I googled for sdl ways, went through the framework, looked into the mingw tutorials, but could not find this simple thing which was so easy in the basic days. I just have an integer, x, that i want to give a random value between 0 and 9... The only thing i could find was rand() which gives huge numbers as return.

Help plz. unsure.gif

#81 Alex.

Alex.

    Retired

  • GP Guru
  • 4582 posts
  • Gender:Male

Posted 01 November 2008 - 04:46 PM

rand()%10 will give you the 0..9 number you need.

I will try to come up with a small game for this as well, whenever I'll have some free time smile.gif

#82 PokeParadox

PokeParadox

    Founder of Pirate Games - Penjin Coder

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3908 posts
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 01 November 2008 - 05:03 PM

QUOTE(MarkoeZ @ Nov 1 2008, 04:05 PM) View Post

i warned you about noob questions tongue.gif

Another: I googled for sdl ways, went through the framework, looked into the mingw tutorials, but could not find this simple thing which was so easy in the basic days. I just have an integer, x, that i want to give a random value between 0 and 9... The only thing i could find was rand() which gives huge numbers as return.

Help plz. unsure.gif


Also I provide a Random object that makes things easy (for some purposes)
just #include "Random.h"
CODE

Random rand;
random.setLimits(0,9);
int myRandomInt = random.nextInt();

It also has nextFloat and if you really want nextBool (head or tails!) laugh.gif
Don't worry about seeding the random numbers because I do this at program init.

@Alex: Great, given your record I expect it to be a good 'un! smile.gif And yes free time is a pain to find sometimes.


#83 MarkoeZ

MarkoeZ

    arr matey?

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

Posted 01 November 2008 - 05:17 PM

QUOTE(PokeParadox @ Nov 1 2008, 06:03 PM) View Post

CODE

Random rand;
random.setLimits(0,9);
int myRandomInt = random.nextInt();


And still big numbers sad.gif really don't know what i'm doing wrong here. both ways seem to keep having the same results

Edit: Wait, something weird is happening, i think it's something else...

Edited by MarkoeZ, 01 November 2008 - 05:27 PM.


#84 MarkoeZ

MarkoeZ

    arr matey?

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

Posted 01 November 2008 - 05:33 PM

Aahah, somehow code::blocks was working with a cached version of my files. Alex, your solution works perfect, thanks for the quick help!

Cheers!

#85 MarkoeZ

MarkoeZ

    arr matey?

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

Posted 01 November 2008 - 10:48 PM

Ok, update.

I have a basic working version now. It's a math game with time pressure. 5 rounds, and after each correct answer you get one second less for the next round. Unexpectedly there are some pretty touch ones that i kept because they are mathematically correct and throw you off guard. youll see smile.gif

Since this is my first cpp project i basically built it inside the Space invaders state, slowly removing the original parts and ending up with almost 100 % changed code. I "borrowed" some of the input parts from the spelling contest as well wink.gif.

But now i changed all filenames and functionnames from invaders to math and it no longer works inside my setup rolleyes.gif . Pretty sure the files are correct though so i'll post them anyway.

This is the bare version, graphics need to be updated, some sounds will be added, and perhaps some variation in the calculations, but ill get to all of that next.

http://willhostforfo...ad&fileid=39155


Edit: works again, and files are indeed correct

Edited by MarkoeZ, 01 November 2008 - 11:32 PM.


#86 pstudio

pstudio

    GP32 User

  • Members
  • PipPipPip
  • 30 posts

Posted 02 November 2008 - 12:41 AM

QUOTE
It's a math game with time pressure.
ah man. I was thinking about making a math game glare.gif tongue.gif Well, I'll just have to come up with something else then smile.gif

Gonna take a look at your game tomorrow and see how much better it is than my idea for a math game wink.gif

#87 MarkoeZ

MarkoeZ

    arr matey?

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

Posted 02 November 2008 - 01:46 AM

QUOTE(pstudio @ Nov 2 2008, 01:41 AM) View Post

QUOTE
It's a math game with time pressure.
ah man. I was thinking about making a math game glare.gif tongue.gif Well, I'll just have to come up with something else then smile.gif

Gonna take a look at your game tomorrow and see how much better it is than my idea for a math game wink.gif


oh, it's probably worse wink.gif but this is the first programming i did in... uhm... 16 years so it's just a test case actually. some weird programming and non efficient at times probably tongue.gif

#88 PokeParadox

PokeParadox

    Founder of Pirate Games - Penjin Coder

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3908 posts
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 02 November 2008 - 02:17 AM

I'm just back from work, a little inebriated too since it was a leaving party.

I've downloaded your code MarkoeZ and I'll get it included into the framework when I have time.

If you think Code::Blocks is "caching" your result, do a rebuild rather than a build.

#89 Kagato

Kagato

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 253 posts

Posted 02 November 2008 - 08:26 AM

Some mockups for the interface.
(I picture the stars in the background flying out from the centre like a particle emitter, not as part of a static background.)

IPB Image IPB Image IPB Image IPB Image

#90 PoisonedV

PoisonedV

    Yeah, I'm a GIRL gamer, what of it?

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2601 posts
  • Gender:Female
  • Interests:Retro gaming, cute boys

Posted 02 November 2008 - 08:31 AM

Looks nice, could you make some with a purpleish background if its not too much trouble? (just curious)
a nice feature might be to change color of the main menu each boot