Forums

Topic: Petit Computer

Posts 4,001 to 4,020 of 9,618

Hairmanban19

@Swordx i posted the QR codes for some arcade machine sprites on the QR code sharing forum.

...

Pixelrobin

twinArmageddons wrote:

IAmAPerson620 wrote:

BIG NEWS - I think I have fixed the "Digging you face into a wall" glitch you guys have been talking about, but I need you guys to help test it. Load the Raycraft program in the editor. Then scroll down to line 100. You should see something that looks similar to this:

J=I+Q-1
IF TXTRS==16 THEN P=96-CAMB+H...

Insert the line:

IF H>13000 THEN H=13000

in there, so it now looks like this:

J=I+Q-1
IF H>13000 THEN H=13000
IF TXTRS==16 THEN P=96-CAMB+H...

Try digging your face into walls and tell me if it crashes any. I have been unable to reproduce the glitch after doing this.

thank you this is awesome i can finally walk around without having that constant fear that i will walk into a wall and it will crash :3
i will now proceed to worship you as my lord and savior

Not cool.

Everybody do a chirp. CHIRP.

Eel

@Ramstrong: yay it worked after I separated x1 and y1 into three variables each and drew the triangles based on the coordinates instead! Thanks for the tips.

Now, let's start making it interactive.

[Edited by Eel]

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok

InsertPi

Is there a command to automatically round numbers? If not, what is a simple way to do it manually?

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.

X:

InsertPi

twinArmageddons wrote:

IAmAPerson620 wrote:

BIG NEWS - I think I have fixed the "Digging you face into a wall" glitch you guys have been talking about, but I need you guys to help test it. Load the Raycraft program in the editor. Then scroll down to line 100. You should see something that looks similar to this:

J=I+Q-1
IF TXTRS==16 THEN P=96-CAMB+H...

Insert the line:

IF H>13000 THEN H=13000

in there, so it now looks like this:

J=I+Q-1
IF H>13000 THEN H=13000
IF TXTRS==16 THEN P=96-CAMB+H...

Try digging your face into walls and tell me if it crashes any. I have been unable to reproduce the glitch after doing this.

thank you this is awesome i can finally walk around without having that constant fear that i will walk into a wall and it will crash :3
i will now proceed to worship you as my lord and savior

I don't know how to respond without getting religious. o_O

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.

X:

Discostew

IAmAPerson620 wrote:

Is there a command to automatically round numbers? If not, what is a simple way to do it manually?

You mean round up if the decimal is .5 or greater, and round down if under .5? There's no command for that, but it's easily implementable.

FLOOR(number +.5)

Discostew

Switch Friend Code: SW-6473-2521-3817

ramstrong

Morphtorok wrote:

@Ramstrong: yay it worked after I separated x1 and y1 into three variables each and drew the triangles based on the coordinates instead! Thanks for the tips.

Now, let's start making it interactive.

Thanks for letting me know. I see that is a solid triangle. Are you using GPAINT to do it, or do you write your own triangle renderer?

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

Let's just call a spade, a spade.

twinArmageddons

IAmAPerson620 wrote:

twinArmageddons wrote:

IAmAPerson620 wrote:

BIG NEWS - I think I have fixed the "Digging you face into a wall" glitch you guys have been talking about, but I need you guys to help test it. Load the Raycraft program in the editor. Then scroll down to line 100. You should see something that looks similar to this:

J=I+Q-1
IF TXTRS==16 THEN P=96-CAMB+H...

Insert the line:

IF H>13000 THEN H=13000

in there, so it now looks like this:

J=I+Q-1
IF H>13000 THEN H=13000
IF TXTRS==16 THEN P=96-CAMB+H...

Try digging your face into walls and tell me if it crashes any. I have been unable to reproduce the glitch after doing this.

thank you this is awesome i can finally walk around without having that constant fear that i will walk into a wall and it will crash :3
i will now proceed to worship you as my lord and savior

I don't know how to respond without getting religious. o_O

that had nothing to do with religion o_O

Bluerobin2 wrote:

twinArmageddons wrote:

IAmAPerson620 wrote:

BIG NEWS - I think I have fixed the "Digging you face into a wall" glitch you guys have been talking about, but I need you guys to help test it. Load the Raycraft program in the editor. Then scroll down to line 100. You should see something that looks similar to this:

J=I+Q-1
IF TXTRS==16 THEN P=96-CAMB+H...

Insert the line:

IF H>13000 THEN H=13000

in there, so it now looks like this:

J=I+Q-1
IF H>13000 THEN H=13000
IF TXTRS==16 THEN P=96-CAMB+H...

Try digging your face into walls and tell me if it crashes any. I have been unable to reproduce the glitch after doing this.

thank you this is awesome i can finally walk around without having that constant fear that i will walk into a wall and it will crash :3
i will now proceed to worship you as my lord and savior

Not cool.

its a joke i didnt mean to offend you im sorry if i did

[Edited by twinArmageddons]

get in loser we're going titan hunting

Gimmemorecoinz

Let's start a group project! We could make the design simple. And then have people take turns programming on it like we did for the contest and listing the changes they made as they go along.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

twinArmageddons

Gimmemorecoinz wrote:

Let's start a group project! We could make the design simple. And then have people take turns programming on it like we did for the contest and listing the changes they made as they go along.

great idea i want in

get in loser we're going titan hunting

randomous

@Gimmemorecoinz Sounds great! But I won't be joining, I'm sorry. I have such a poor time schedule that I just don't think I'd be able to add anything "safely" (when someone else isn't working on it).

randomous

Gimmemorecoinz

Here's a very short piece of code I wrote as an example for twins.
This is basic geometrical collision.
box_x1=10
box_y1=20

other_box_x1=150
other_box_y1=150

box_sizes=32

@main
collision=false
cls
gcls

box box_x1, box_y1, box_x1+box_sizes, box_y1+box_sizes, 5
box other_box_x1, other_box_y1, other_box_x1+box_sizes, other_boxy1+box_sizes, 5

if box_x1+box_sizes>other_box_x1 and box_x1<other_box_x1+box_sizes and box_y1+box_sizes>other_box_y1 and box_y1<other_box_y1+box_sizes then collision=true

if collision=true print "Collision happened"

if button()==4 then box_x1=box_x1-1
if button()==8 then box_x1=box_x1+1
if button()==1 then box_y1=box_y1-1
if button()==2 then box_y1=box_y1+1

vsync 1

goto @main

Hopefully it makes sense.
And for other people out there here's a diagram that shows a coordinates example.
http://imgur.com/3qE0PHw

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

randomous wrote:

@Gimmemorecoinz Sounds great! But I won't be joining, I'm sorry. I have such a poor time schedule that I just don't think I'd be able to add anything "safely" (when someone else isn't working on it).

That's cool with me :3

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

twinArmageddons wrote:

Gimmemorecoinz wrote:

Let's start a group project! We could make the design simple. And then have people take turns programming on it like we did for the contest and listing the changes they made as they go along.

great idea i want in

I'll start on the game first. Then people can add thins.
I'll try to program the game to make it easy to understand what's going on.
just so you guys know i'll be using text for the game not sprites.

Does anyone have any ideas for what type of game?
I was thinking:
pacman
space invaders
text based game
adventure rpg

As you go down the list it gets more complex.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

Oh and an update. I may be adding the first physics to my game. They include a parametric jump
better gravity
the knockback effect
this requires me to code in some basic npcs
I'm going to stick with the current codebase I have just to test some things then once I get the physics working that I want i"ll switch to the typed array system

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Eel

ramstrong wrote:

Morphtorok wrote:

@Ramstrong: yay it worked after I separated x1 and y1 into three variables each and drew the triangles based on the coordinates instead! Thanks for the tips.

Now, let's start making it interactive.

Thanks for letting me know. I see that is a solid triangle. Are you using GPAINT to do it, or do you write your own triangle renderer?

Oh well, since the triangle is being drawn around the main x,y point, I simply use gpaint there.

[Edited by Eel]

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok

Pixelrobin

@IamAPerson so can you finish up raycraft and let me have a go? I have tons of ideas. Fyi, it would probably be best that we don't edit at the same time so we don't get multiple versions. I was thinking...

  • Bottom screen
  • Hunger and health
  • /fps command
  • Better chat
  • rotating world at menu (Like Minecraft)
  • And bits and pieces here and there.

Everybody do a chirp. CHIRP.

InsertPi

Bluerobin2 wrote:

@IamAPerson so can you finish up raycraft and let me have a go? I have tons of ideas. Fyi, it would probably be best that we don't edit at the same time so we don't get multiple versions. I was thinking...

  • Bottom screen
  • Hunger and health
  • /fps command
  • Better chat
  • rotating world at menu (Like Minecraft)
  • And bits and pieces here and there.

I was gonna already do the /fps command and add bottom screen at about Beta 1.0. I see no point in adding hunger and health anytime soon, as there is no way to get hurt and no way to collect materials, craft, etc. for survival (at least until Beta 1.0). But I do have good news! I have successfully added placing/breaking blocks! All I wanna do now is make a wireframe around where a block would be placed (like in minecraft) and fix a bug where breaking the world's walls will crash the game. Then I will release this as Alpha 1.4. And your worry about multiple versions at the same time? You can just all it "Modded Alpha 1.0" "Improved Alpha 1.5", etc.

[Edited 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.

X:

GraphicGenius

I need help on graphics and sprites like using GLINE and GCIRCLE and anything else you know.

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?

steriaca

Does anyone remember the http of the japanies wikia?

My Friend Code is 3368-1310-0690.

Sorry, this topic has been locked.