Forums

Topic: Petit Computer

Posts 7,461 to 7,480 of 9,620

noxuss

sorry i dont know how to do very advanced collision detection but try doing this for a sprite
@INIT
<insert code>
SPSET 0,64,0,0,0,1
@LOOP
SPOFS 0,X,Y
<insert code>
VSYNC 1
GOTO @LOOP
also the AIR variable just checks if you're in the air

aha, that was easy, can't believe I didn't think of that

EDIT: This isn't anything important, but TRUE and FALSE work with variables right? are there any other words that you can use, without making it into a string? Just curious.

Edited on by noxuss

noxuss

GraphicGenius

Hey guys, I think that I'm not doing much with programming right now. What should I start working on? I will try to make my first ever game. Yeaaahhhhh I actually have never made a game before. So I'm not much of a popular programmer on here. So I just want to make a game. What should I make?

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens. Wait was that just a joke?

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

noxuss

GraphicGenius wrote:

Hey guys, I think that I'm not doing much with programming right now. What should I start working on? I will try to make my first ever game. Yeaaahhhhh I actually have never made a game before. So I'm not much of a popular programmer on here. So I just want to make a game. What should I make?

Ooh ooh, I have a weird idea for my personal enjoyment. ahem, make a game with skills that you can grind. Like mining, and woodcutting, and you get xp and can level them up, after certain levels you can cut better trees and mine better stuff .

noxuss

twinArmageddons

noxuss wrote:

GraphicGenius wrote:

Hey guys, I think that I'm not doing much with programming right now. What should I start working on? I will try to make my first ever game. Yeaaahhhhh I actually have never made a game before. So I'm not much of a popular programmer on here. So I just want to make a game. What should I make?

Ooh ooh, I have a weird idea for my personal enjoyment. ahem, make a game with skills that you can grind. Like mining, and woodcutting, and you get xp and can level them up, after certain levels you can cut better trees and mine better stuff .

thats actually a really good idea someone should make something like that
EDIT:i dont think a beginner should start with that you should start with something like pacman

Edited on by twinArmageddons

get in loser we're going titan hunting

3DS Friend Code: 2879-0639-8952 | Nintendo Network ID: merp_aottg

noxuss

Some random guy wrote:

thats actually a really good idea someone should make something like that
EDIT:i dont think a beginner should start with that you should start with something like pacman

Go right ahead and try to make it, I would honestly play that . What about pong, I think that would be okay too.

Edited on by noxuss

noxuss

twinArmageddons

Some random meemoo wrote:

Some random guy wrote:

thats actually a really good idea someone should make something like that
EDIT:i dont think a beginner should start with that you should start with something like pacman

Go right ahead and try to make it, I would honestly play that . What about pong, I think that would be okay too.

sure why not its not like im programming anything else right now

jk

Edited on by twinArmageddons

get in loser we're going titan hunting

3DS Friend Code: 2879-0639-8952 | Nintendo Network ID: merp_aottg

noxuss

twinArmageddons wrote:

Some%20random%20meemoo wrote:

Some%20random%20guy wrote:

thats actually a really good idea someone should make something like that
EDIT:i dont think a beginner should start with that you should start with something like pacman

Go right ahead and try to make it, I would honestly play that . What about pong, I think that would be okay too.

sure why not its not like im programming anything else right now

jk

Haha, sorry. I didn't mean now, I meant if you were bored sometime.

I have an important question, does CHKCHR also work for background tiles? if so, I have finally figured out collosion.

noxuss

twinArmageddons

noxuss wrote:

I have an important question, does CHKCHR also work for background tiles? if so, I have finally figured out collosion.

no only text i just tested it

get in loser we're going titan hunting

3DS Friend Code: 2879-0639-8952 | Nintendo Network ID: merp_aottg

mystman12

I got the basics of my enemy AI down tonight, and it wasn't as difficult as I thought it would be!

I like makin' games!
Future Pinball games!
Petit Computer games!!
and SmileBASIC games!
Waiting for Kirby Air Ride 2. One day, it will come. One day...

3DS Friend Code: 0259-0292-5888 | Nintendo Network ID: mystman12 | Twitter:

Pixelrobin

Basic Enemy follow ai:

EX=0 (enemy x)
EY=0 (enemy y)
X=10 (player x)
Y=10 (player y)
@LOOP
Movement code and stuff here
GOSUB @ENEMY
GOTO @LOOP

@ENEMY
IF EX>X THEN EX=EX-1
IF EX<X THEN EX=EX+1
IF EY>Y THEN EY=EY-1
IF EY<Y THEN EY=EY+1
RETURN

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

mystman12

Yep, that's pretty much what I did, except the game first checks to see if the player is farther along the x axis or y axis. So if the player is on the other side of stage, but only a little higher, it will try to move right, until the distance between the x axis is greater than the distance between the y axis.

I like makin' games!
Future Pinball games!
Petit Computer games!!
and SmileBASIC games!
Waiting for Kirby Air Ride 2. One day, it will come. One day...

3DS Friend Code: 0259-0292-5888 | Nintendo Network ID: mystman12 | Twitter:

Ralph

noxuss wrote:

I have an important question, does CHKCHR also work for background tiles? if so, I have finally figured out collosion.

I think BGCHK does what you want.

Ralph

InsertPi

Thank you @randomous! It sounds great! I've put it in and it's awesome.

I also put a disclaimer at the beginning before the game loads. Up next: bug fixing! (Oh no)

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

InsertPi

@Hansausage if I can make them, yes. They might cause a bit of lag, so I'll have an option to turn them off. My biggest worry is collision. I'll definitely have to work with that.

@ShadowGame I'm posting SimpleC tutorials on my Petit Computer daily blog, link in my signature

@Everyone daily blogs now! I post random tutorials on random stuff, news, discussion, Q&A, etc.

Edited on by InsertPi

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

GraphicGenius

ok everyone right now I'm making pong because its probably the easiest thing i can do.
@IAmAPerson post one of your SimpleC tutorials here I really need them

Edited on by GraphicGenius

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens. Wait was that just a joke?

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

InsertPi

GraphicGenius wrote:

IAmAPerson post one of your SimpleC tutorials here I really need them

They're being posted on my daily blog here.

Almost done with bug fixing! Only have 2 more! Here's from my bug log:

Pausing and resuming makes the GUI disappear - B1.1 - Resolved
Sprint without walking - A1.5 - Resolved
Chatting and glitching up menu at menu - B1.5(?) - Resolved
Breaking blocks through blocks - A1.4 - Unresolved
Running through blocks - A1.5 - Resolved

Edit: Only 1 more!

Edited on by InsertPi

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

SmokedSausage

Here is an exclusive snapshot of the WorldEdit portion of Pixelli!
Untitled
I bet you guys feel special.

EDIT:am I the only one having problems loading the wiki?
EDIT2: Just added on the sidebar "Blocks menu" to jump to BGU1 BGU2 and so on "BG CLS" Clears all BG tiles "Exit" Pulls up a saving menu to save and exit "Block Jump" Jump to a specific BG Number

Edited on by SmokedSausage

Hi, I'm SmokedSausage and i like meemoos :^)

Twitter:

InsertPi

Sorry for off topicness
@Hansausage no not at all. I'm using Chrome and it's still taking FOREVER to load ANYTHING.

Edited on by InsertPi

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

twinArmageddons

IAmAPerson wrote:

Hansausage no not at all. I'm using Chrome and it's still taking FOREVER to load ANYTHING.

i refreshed like 500 times already and the page is still blank

get in loser we're going titan hunting

3DS Friend Code: 2879-0639-8952 | Nintendo Network ID: merp_aottg

Please login or sign up to reply to this topic