GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment: Pandora Panic - GP32X.com - GP32 GP2X Pandora The Wiz - open source entertainment

Jump to content

  • (76 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Pandora Panic Community Dev Thread

#1 User is offline   Cameleon

  • Member
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 17-April 07
  • Location:Glasgow

Posted 06 October 2008 - 10:33 PM

Continued from Pandora Dev Forum. It seems like people are taking on the Base Engine posted by PokeParadox, this thread is here to clarify links to base code and what not...Currently the SDL path needs to be added to the compiler via Settings->Compiler...->GNU GCC Compiler-> Search Directories...
Add "C:\Program Files\CodeBlocks\MinGW\include\SDL",
also remove lib3ds from the Linker Settings in Project->Build Options->W32 Debug and W32 Release(if you are using Windows).

Lastly, The actual game specific framework will be available soon...

Pandora Panic Framework (Updated)

For the mean time minigames can be created as their own state.

Its seems a Wario-Ware style game is becoming the favoured option, so the games should be short and sweet. Don't wory about lives in the game, just keep track of whether it passes or fails.

If you get stuck just PM either me or PokeParadox.


Status Update(Update of games added or framework progress):

1. Space Invaders and Ball Catching games have been added to the build.
2. Lives and Game Transitions added, Selection box now works(bit sensitive at the moment)
3. Image Class updated to fully implement rotoZoom, Do A Barrel Roll! game added. (still to be uploaded)

This post has been edited by Cameleon: 11 October 2008 - 11:50 PM


#2 User is offline   Ben Monk

  • Member
  • PipPip
  • Group: Members
  • Posts: 3
  • Joined: 30-September 08

Posted 06 October 2008 - 10:48 PM

QUOTE(Cameleon @ Oct 6 2008, 10:33 PM) View Post

Continued from Pandora Dev Forum. It seems like people are taking on the Base Engine posted by PokeParadox, this thread is here to clarify links to base code and what not...Currently the SDL path needs to be added to the compiler via Settings->Compiler...->GNU GCC Compiler-> Search Directories...
Add "C:\Program Files\CodeBlocks\MinGW\include\SDL",
also remove lib3ds from the Linker Settings in Project->Build Options->W32 Debug and W32 Release(if you are using Windows).

Lastly, The actual game specific framework will be available soon...

<Link Here>

For the mean time minigames can be created as their own state.

Its seems a Wario-Ware style game is becoming the favoured option, so the games should be short and sweet. Don't wory about lives in the game, just keep track of whether it passes or fails.

If you get stuck just PM either me or PokeParadox.


Thanks for making this thread!

I doubt there's much I can do to help now except say good luck, and thanks for running this project instead of me!

I was I was good at SOMETHING.

#3 User is offline   Cameleon

  • Member
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 17-April 07
  • Location:Glasgow

Posted 06 October 2008 - 10:58 PM

Well you got the ball rolling...thanks for,at least, that and you got the Pirates tongue.gif interested...hopefully it'll turn out to be a great collection of games

#4 User is offline   PokeParadox

  • Founder of Pirate Games - Penjin Coder
  • PipPipPipPipPipPip
  • View blog
  • Group: GP32 Hardcore
  • Posts: 3,172
  • Joined: 08-December 05
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 06 October 2008 - 11:45 PM

I'm editing this post to mirror the first since Cameleon has been too busy to keep it updated.
Continued from Pandora Dev Forum. It seems like people are taking on the Base Engine posted by PokeParadox, this thread is here to clarify links to base code and what not...Currently the SDL path needs to be added to the compiler via Settings->Compiler...->GNU GCC Compiler-> Search Directories...
Add "C:\Program Files\CodeBlocks\MinGW\include\SDL"

If you get stuck just PM either me or PokeParadox. Additionally Todd has a very coherent guide here.

This post has been edited by PokeParadox: 04 December 2008 - 02:27 AM


#5 User is offline   conso

  • Mega GP Mania
  • PipPipPipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 583
  • Joined: 29-February 08

Posted 07 October 2008 - 10:50 AM

QUOTE(PokeParadox @ Oct 7 2008, 01:45 AM) View Post

Yeah, I've been traveling all day, but I did lots of work on the train. But I'll have something ready tomorrow I suspect, but right now I'm really shattered!

Zacaj has a pretty good example of a mini game there, we will integrate that into the MiniGame framework too.


May I ask what's the license of the engine? I may consider to help, but that heavily depends on licenses.

#6 User is offline   Cameleon

  • Member
  • PipPip
  • Group: Members
  • Posts: 14
  • Joined: 17-April 07
  • Location:Glasgow

Posted 07 October 2008 - 01:53 PM

The licence on the engine is LGPL compatable

#7 User is offline   PokeParadox

  • Founder of Pirate Games - Penjin Coder
  • PipPipPipPipPipPip
  • View blog
  • Group: GP32 Hardcore
  • Posts: 3,172
  • Joined: 08-December 05
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 07 October 2008 - 10:48 PM

Basically we're not too fussed about what you do with the source, we hope it's helpful and as long as you don't outright plagiarise our work, do what you want with the base engine.
It uses some LGPL libs, however.

And just an update, I'm nearly finished coding an interface state which will keep track of lives and basically join the minigames together depending on which mode you've selected... and I've already included Zacaj's game. It's taking a but longer because I've been coding with a monster headache to try and get it ready today, but it's not done and I still have a headache, so please just hang on a little longer and keep making your minigames.

I've now finalised how you should exit your MiniGame:
We have a structure for passing variables between states. It's logically called "variables"
all you need to do is set a 1 for passed or 0 for failed into the 0 index of the variables object
CODE

variables[0].setInt(0);   //  MiniGame failed
variables[0].setInt(1);   // MiniGame passed!


Following that you set the next state to STATE_MAIN
CODE

setNextState(STATE_MAIN);


This main state works out what to do next, so you don't have to worry about it, you don't have to worry about lives or anything. Just concentrate on a nice mini game and just set if you pass or fail then set the STATE_MAIN. smile.gif

This post has been edited by PokeParadox: 07 October 2008 - 10:48 PM


#8 User is offline   MarkoeZ

  • ...
  • PipPipPipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 501
  • Joined: 21-May 08
  • Gender:Male

Posted 08 October 2008 - 12:41 AM

is there a posibility to get another topic/place to talk about this project?

I have programming experience but im quite new to some stuff, mostly c(++), and don't want to fill this thread with noob questions wink.gif

#9 User is offline   PoisonedV

  • Yeah, I'm a GIRL gamer, what of it?
  • PipPipPipPipPipPip
  • View blog
  • Group: GP32 Hardcore
  • Posts: 2,599
  • Joined: 20-October 06
  • Gender:Female
  • Interests:Retro gaming, cute boys

Posted 08 October 2008 - 12:51 AM

QUOTE(MarkoeZ @ Oct 7 2008, 07:41 PM) View Post

is there a posibility to get another topic/place to talk about this project?

I have programming experience but im quite new to some stuff, mostly c(++), and don't want to fill this thread with noob questions wink.gif

i don't think anyone would mind. actually open discussion is better, so everyone can see it and learn from it.

#10 User is offline   MarkoeZ

  • ...
  • PipPipPipPipPipPip
  • Group: GP32 Hardcore
  • Posts: 501
  • Joined: 21-May 08
  • Gender:Male

Posted 08 October 2008 - 12:57 AM

yeah, but i was thinking about at least 2 topics for posting. One for the framework and one for the individual devs.

Just an idea, i would read both anyway.

#11 User is offline   PokeParadox

  • Founder of Pirate Games - Penjin Coder
  • PipPipPipPipPipPip
  • View blog
  • Group: GP32 Hardcore
  • Posts: 3,172
  • Joined: 08-December 05
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 08 October 2008 - 12:55 PM

Please, you are welcome to keep all discussions in this thread. We'll keep the first post updated, with the latest links, progress, etc. And the thread can just continue with any problems, etc.

Update here too, I have the minigame logic somewhat sorted out, and this morning my headache is gone, so that obviously good news. I should definitely have something to post tonight, and I'll try to write some complete instructions about what you should be doing.

I must say, if you are working on a minigame, please let us know then people can avoid doing the same idea!

Also any musicians? We could do with some victory and failure music for the MiniGame Interface. Also something good for the title screen.

I suspect Sonistar will be helping us with our graphics requirements, but if you are needing resources, then let people know now, so that people can volunteer! smile.gif

EDIT: I'm going to post current progress, don't go into selection mode, since that part's not finished yet. But you have a quick menu for modes, and it has lives and has the basis of random mode, but we only have Zacaj's mini game at present... tongue.gif

I will add delays in and such, but I wanted to get the logic finished first before effects.

http://www.pirate-ga...PandoraPanic.7z

This post has been edited by PokeParadox: 09 October 2008 - 01:11 AM


#12 User is offline   pferguso

  • GP32 Hardcore
  • PipPipPipPip
  • Group: Members
  • Posts: 131
  • Joined: 08-June 04
  • Location:Las Vegas, NV USA
  • Interests:Science Fiction Films, filmmaking, video editing, GP2x, emulation, programming, Flash animation, Lightwave 3D, Reason 3.0

Posted 09 October 2008 - 09:04 PM

I did the music for Ruck-Man, Space Varments, Protozoa, Snake on Dope and the new Animatch (coming soon.)
I can do some music for Pandora Panic if no one else wants this project. It just so happens that I pre-ordered a Pandora, so I look forward to working on Pandora games...

Just let me know if the position has been filled or not.


#13 User is offline   billykater

  • Member
  • PipPip
  • Group: Members
  • Posts: 7
  • Joined: 23-August 08

Posted 09 October 2008 - 09:36 PM

To familiarize myself with the engine tried modify the existing game and setup the environment.
You can find the results here. Added some bounds checking and changed the controls to not kill your keyboard while trying to reach the ball biggrin.gif .
This includes every file needed to compile pandora panic (Code::Blocks is not included).

It took me some time to figure out which file or directory had to be put together to compile pandora panic correctly.

Maybe PokeParadox can do a similar release for the next version where all unnecessary files are not included(Current CromoZome code could be included with the samples instead).

#14 User is offline   pstudio

  • Member
  • PipPip
  • Group: Members
  • Posts: 24
  • Joined: 09-October 08

Posted 09 October 2008 - 10:08 PM

I've played a bit aroundwith the code and I've created a little mini game. Not really anything special, just a very simple space invaders game (only one alien and one shot).

http://lehim.co.cc/SpaceInvaders.zip

I've only included the header, cpp file and the sprites so you'll need the download the other files yourself and manipulate the to try the game out tongue.gif

The sprites were just some quick dirty placeholders (feel free to change them). As I said before, it was just to try the framework out.

I'm still requesting some info on what type of mini games we should make. Are there certain criteria we must obey? Or does anything goes?

And some quick code questions:

What does Input.resetKeys() exactly?
How can we use the touch screen, Keyboard, analog sticks (other?)? I feel that we should attempt to use all input methods in the mini games (not at once tongue.gif).

There's probably a thousand other things to ask about, but I've forgotten them now, so I'm just gonna play Football Manager Live Beta.

#15 User is offline   PokeParadox

  • Founder of Pirate Games - Penjin Coder
  • PipPipPipPipPipPip
  • View blog
  • Group: GP32 Hardcore
  • Posts: 3,172
  • Joined: 08-December 05
  • Gender:Male
  • Location:UK
  • Interests:Homebrew and Emulation!

Posted 10 October 2008 - 01:21 AM

QUOTE(billykater @ Oct 9 2008, 10:36 PM) View Post

Maybe PokeParadox can do a similar release for the next version where all unnecessary files are not included(Current CromoZome code could be included with the samples instead).

Good idea! I'll separate the samples and provide a full Penjin + PandoraPanic package next time.
Also thanks for the tweaks, We'll be sure to add your name to the credits of that minigame! smile.gif

QUOTE(pstudio @ Oct 9 2008, 11:08 PM) View Post

I've played a bit aroundwith the code and I've created a little mini game. Not really anything special, just a very simple space invaders game (only one alien and one shot).


I'm still requesting some info on what type of mini games we should make. Are there certain criteria we must obey? Or does anything goes?

You are modest, it serves as another good example of how to use the framework! We actually like this minigame quite a lot biggrin.gif
It basically is "anything goes" but just keep it straight to the point. And keep it "family friendly" wink.gif But humour is good, if possible.
QUOTE(pstudio @ Oct 9 2008, 11:08 PM) View Post

And some quick code questions:

What does Input.resetKeys() exactly?
How can we use the touch screen, Keyboard, analog sticks (other?)? I feel that we should attempt to use all input methods in the mini games (not at once tongue.gif).


the resetKeys() function wipes that status of the buttons... you don't really need to call it unless you want to make sure the button is only registered once when held. You don't have to use the input object as it's intended for the GP2X (and there is another one for Wiimote), you can use the SDL input function directly, which may be more sensible until we know how to button map the Pandora in SDL!

Keyboard yes, touchscreen may be handled as a mouse in SDL... analogue sticks should be possible, although I haven't written any support for it as yet. Again you'd have to use the SDL functions directly, as opposed to my "easy" input classes.

Please comment your minigames, with your name and the name of the minigame, so that we can give appropriate credits on the credits screen!

I'm going to do some more work on the minigame interfacing, add victory/loss delays so that you have a little time to catch your breath between games, check your lives and current stage, etc.
I also need to add the single game selection screen.

I also have a couple of ideas I'm thinking about... but I want to get the MiniGame engine done before starting anything... rolleyes.gif If I have any concrete ideas of what I'm doing minigame-wise, I'll of course let you know.

I must say thanks to everyone that is interested in the project and I hope you are not having too much trouble with our code! laugh.gif

  • (76 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic