Forums

Topic: Petit Computer

Posts 751 to 770 of 9,620

portealmario

So I was working on my os today and added a new feature for menu sekection, and the weirdest bug happened when I started working on the games menu. I printed, then when I moved the cursor up, it started, I can't explain what happeden, but I really can't figure out how to fix it!

meng 😐
3ds friend code:1762-2769-7142

portealmario

And I still can't get a character to jump properly

meng 😐
3ds friend code:1762-2769-7142

Eel

neoxid500 wrote:

@Morphtroid
Okay, I'm trying to make a game of Solitare, however I'm not sure how to get the cards to deal. I've already thought of using the RND() command to assign the cards numbers and then deal that way, but I'm not sure what to do in the even that values will be the same. Help?

If you're making a game of solitaire you can't simply "choose the cards at random" just like that.
You need to remember that there are 4 suits with 13 cards each and maybe 2 jokers on a single deck.
You need to think a system so the game will make sure no single card is selected more than once.

Try to think something up. If you need more help, feel free to ask.

@Ramstrong: It is "harder and slower" compared to using mem

Edited on by Eel

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok | Nintendo Network ID: Abgarok

Sprite

@portealmario why do you need friend codes?

I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens.
Friend Code: 1075-1228-4183

Late

Have to post here again just to say I'm still waiting for this thing to be released in Europe. I really want to test your games and try to make my own but it seems like I have to wait forever.
I'm also trying to learn C++ as I noticed I have C++ course in my school schedule. Didn't even remember it before it started a couple of weeks ago
Now after two weeks I'm ahead everyone else and trying to make a simple text rpg whenever I have time. At the moment the game has three "monsters" (named after my friends) each with different HP and accuracy, a little leveling system which gives the player +5 HP whenever he defeats a monster and then there's of course options to attack or escape. It works great but now then I tried to add some new things and I have to fix it again to get it work correctly. I enjoy writing in C++ so now I'm sure I'll enjoy Petit Computer.

It's its, not it's.

Switch Friend Code: SW-8287-7444-2602 | Nintendo Network ID: LateXD

steriaca

@neoxid500 : I did a 'if both EXNUM and SAFNUM is the same, force a reasigment GOTO' in my BOMB program (comming soon, as I can get to a full computer as opose to using my DSi). While you CAN do something more elabrate like that for your Solatair program, I would degently not do that. It would take up lots of lines of code, and no garentee of working. So, I second Morphad's remark. What you could do instead is set up a few data tables, and read them. Exactly how, thoe, is beyond my ability to program at this time.

My Friend Code is 3368-1310-0690.

Icebender7

Wow this forum is really popular. Good luck you guys!

Icebender7

portealmario

@sprite just for fun, I'd like to have some of these people as my friends because they are nice

meng 😐
3ds friend code:1762-2769-7142

portealmario

I figured out the bug, fixed it, and now I have figured out a cool password protection system!

meng 😐
3ds friend code:1762-2769-7142

Wheels2050

Late wrote:

I enjoy writing in C++ so now I'm sure I'll enjoy Petit Computer.

Word of warning - you'll likely find Petit Computer somewhat limiting in comparison to C++. It's not necessarily a bad thing - it will force a lot of creativity and novel solutions to problems - but you'll notice a difference, especially if you use object-oriented programming to any extent.

Having said that, the people on this forum are doing great things with Petit Computer, so it by no means implies that fun games can't be made.

I used to have a blog link here. I'll put it back up when the blog has something to read.

Sprite

mines 1075 1228 4183

I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens.
Friend Code: 1075-1228-4183

steriaca

Wheels2050 wrote:

Word of warning - you'll likely find Petit Computer somewhat limiting in comparison to C++. It's not necessarily a bad thing - it will force a lot of creativity and novel solutions to problems - but you'll notice a difference, especially if you use object-oriented programming to any extent.

Having said that, the people on this forum are doing great things with Petit Computer, so it by no means implies that fun games can't be made.

I agree. Just look at Petit Farm. And the tons of fun Japanies programs like Luna City, Shooting Life, and TriStones.

While we are waiting for thoes awsome American (and other english speeking) games (cause it takes time, and Rome wasen't built in a day), we do have Petit Farm and a lot of willing programers in this and the fourm at GameFAQ.com. And the vareous Petit Computer Wikias.

My Friend Code is 3368-1310-0690.

Discostew

ramstrong wrote:

Suddenly Discostew's idea makes great sense! Ever heard of tab-delimited format?

BTW, Discostew, you would use sophisticated algorithm on a simple problem. Parser and all. Writing program without a computer. You're a Software Engineer in real life, right?

Bachelors in Computer Science at the very least. I've actually done quite a bit with the DevkitPro homebrew toolkit for the GBA and DS prior to this.

Discostew

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

Sprite

@portealmario my friend code is two posts above

I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens.
Friend Code: 1075-1228-4183

ramstrong

Morphtroid wrote:

@Ramstrong: It is "harder and slower" compared to using mem

Is that right? Well, why don't you update your Petit Block using this technique and see for yourself.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

Eel

Maybe later when I add survival mode.

BTW, by "Harder and slower" I talk about a programming point of view, it takes more taps to program that compared to using mem.

Edited on by Eel

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok | Nintendo Network ID: Abgarok

Shadow1364

@Morphtroid- What do you mean by survival mode on petit blocks if it only creats 3d blocks?

@Ramstrong- Could you be a bit more polite when talking to people on the forums? Your being very borderline rude...

FC: 1934-1622-0902

tiger667

Not sure if this has been asked here yet, about to go to bed and don''t have time to search, sorry. I am creating a program that will have a button menu on the touch screen, I will be using GPAGE so I can have multiple menus, I was wondering if there is a way to create extra images on top of the ones I already have there, but make them invisible until the touch pen is touching its area. I am hoping this is possible instead of constantly erasing and redrawing things? I ask because I will have the code set to only respond to the touch of a button when the pen is finally removed from the touch screen (so the user can change his mind and possibly slide over to a non button before lifting the pen), I think changing buttons will be a nice touch, and actually required for some things that need to stay pressed for a time. I hope I have described the situation well, I sometimes have a hard time taking myself away from knowing what I am talking about to explain it to someone who doesn't.

tiger667

Eel

@Shadow1364: That was actually a joke, I don't think anyone would like to play it that way considering it takes so long to draw everthing, but it is not completely impossible.

@Tiger: I'm almost sure you can't draw transparent things with petit computer (and everything drawn out of view is instantly erased too). But there should be a way to solve it... I don't know it, but there must be. Try looking for petit games online that use animated touch-buttons.

Edited on by Eel

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok | Nintendo Network ID: Abgarok

steriaca

I final have an ideal for project 2. An improvment on my Bomb program. Then, prehaps a quick little game based on the ideal of "Lady & The Tiger"...pick a door, and try not to get ate.

For my first major game, I seteled on the name "Applecatch". But, how would I begin the 'apple drop from top of screen to the bottom of the screen'? Any ideals?

My Friend Code is 3368-1310-0690.

Please login or sign up to reply to this topic