Forums

Topic: Petit Computer

Posts 1,661 to 1,680 of 9,620

OboeDude1999

Hi guys,
Can anyone explain to me how to make objects in a 3D environment?
-OboeDude-

...Also BGM?

Cat syrup all the way!

Youtube: http://www.youtube.com/1999oboedude
Blog: http://oboebloggo.blogspot.com

My bus driver is crazy.
(edit) My bus driver got fired.

3DS Friend Code: 2921-9087-5238 | Nintendo Network ID: OboeDude

Discostew

Ugh, trying to make a simple color fader for my game (like fade to black, white, or whatever color I want) by adjusting the palette, and it takes up around 30% of a frame's processing time for only 8 colors.....Using HEX$ and COLSET in its current form take far too long for something that should have accepted a number up to 2-bytes worth, kinda like how BGPUT (expert version) does, because as it is, the DSi's format for colors is a 16-bit value per color entry (5 bits per color component, 1bit unused).

Discostew

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

Hairmanban19

bluerobin2 wrote:

@steriaca Did you add me before? I tried and it worked right away...
Anyways, major blog update! I will now post more on it. I am also thinking of making a multiplayer tic-tac-toe game that will keep on transferring and deleting MEM files between 2 Ds. Or maybe Battleship. I just want to see if that would work. Any thoughts?

I would like Battleship.

...

3DS Friend Code: 3136-7615-5907

Pixelrobin

OboeDude1999 wrote:

Hi guys,
Can anyone explain to me how to make objects in a 3D environment?
-OboeDude-

...Also BGM?

3D Environment??
Look in the manual included with petit computer about BGM. I have to refer to that again too

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

swordx

Hey guys! I'm making a Youtube channel so that I can upload videos of my games! I'll post some videos ASAP!

swordx

damolii

I played track 19 by ear and also another one..... Either 13 or 14

I don't have a 3DS so what do I put here? -Damolii

KAHN

OboeDude1999 wrote:

Hi guys,
Can anyone explain to me how to make objects in a 3D environment?
-OboeDude-

...Also BGM?

study the source code for the dungeon-crawler sample game. that one is a great example of a 3D environment.

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

KAHN

OboeDude1999 wrote:

Hi guys,
Can anyone explain to me how to make objects in a 3D environment?
-OboeDude-

...Also BGM?

study the source code for the dungeon-crawler sample game. that one is a great example of a 3D environment.

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

Pixelrobin

Question to the admins: If you have petit computer, What are you working on? Just curious...

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

KAHN

how do i load the sprites i created??

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

swordx

0LD_SK0OL_PUNK wrote:

how do i load the sprites i created??

Load "SPU(number from 0-7): (Name of sprite sheet)"

Edited on by swordx

swordx

KAHN

swordx wrote:

0LD_SK0OL_PUNK wrote:

how do i load the sprites i created??

Load "SPU(number from 0-7): (Name of sprite sheet)"

what does the number (0-7) mean?

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

swordx

0LD_SK0OL_PUNK wrote:

swordx wrote:

0LD_SK0OL_PUNK wrote:

how do i load the sprites i created??

Load "SPU(number from 0-7): (Name of sprite sheet)"

what does the number (0-7) mean?

Which sprite sheet you're replacing. For example, if I were to say, LOAD"SPU1:SAILOR", I'd be replacing the second sprite sheet (the one with the human and the wizard) with the sheet sailor, which would probably contain sailor sprites.

EDIT: I'm TRYING to upload a (poor) video of Dungeon Adventure, but it isn't processing. Can anybody help? LINK: http://www.youtube.com/watch?v=vsXOJ7GTPQo&feature=youtu.be

Edited on by swordx

swordx

kvandenb

Hey does anyone know if there's a way other than by defining sub-routines to create functions that take arguments? Maybe I'm missing something but it seems like only gosub is provided for something like this....

kvandenb

OboeDude1999

Explanation of DATA and MEM$?

Cat syrup all the way!

Youtube: http://www.youtube.com/1999oboedude
Blog: http://oboebloggo.blogspot.com

My bus driver is crazy.
(edit) My bus driver got fired.

3DS Friend Code: 2921-9087-5238 | Nintendo Network ID: OboeDude

Pixelrobin

Hello everyone! I now have a survey up on my blog. Please give some feedback. It's not very long... ( I am asking you because it will mainly be about petit computer)
bluerobin2.blogspot.com

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

Discostew

OboeDude1999 wrote:

Explanation of DATA and MEM$?

DATA is basically that. Data. You don't run it as code, but you can read it to be used for code. Take for example...


CLEAR
DIM AnArray(100)
RESTORE @SOME_DATA
READ AnArray(0), AnArray(1)
READ AString$
PRINT AnArray(0);" - ";AnArray(1);" - ";AString$
END
@SOME_DATA
DATA 10, 11
DATA "This is a string."


Other than clearing the memory and setting an array, it sets the "read data" pointer at the label "SOME_DATA" using RESTORE, and reads in 2 numbers into the first 2 elements of the array, and then reads the string data into the string. It then outputs those two array elements and string as...

10 - 11 - This is a string


As for MEM$, think of it like a 256 character string that can be saved/loaded to/from a file. Put in it what you want (like high scores, character attributes, etc), then you can save them with SAVE "xxx:MEM", where "xxx" is the name (up to 8 characters), then load them up later like when you launch the program again.

Discostew

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

OboeDude1999

Discostew wrote:

OboeDude1999 wrote:

Explanation of DATA and MEM$?

DATA is basically that. Data. You don't run it as code, but you can read it to be used for code. Take for example...


CLEAR
DIM AnArray(100)
RESTORE @SOME_DATA
READ AnArray(0), AnArray(1)
READ AString$
PRINT AnArray(0);" - ";AnArray(1);" - ";AString$
END
@SOME_DATA
DATA 10, 11
DATA "This is a string."


Other than clearing the memory and setting an array, it sets the "read data" pointer at the label "SOME_DATA" using RESTORE, and reads in 2 numbers into the first 2 elements of the array, and then reads the string data into the string. It then outputs those two array elements and string as...

10 - 11 - This is a string


As for MEM$, think of it like a 256 character string that can be saved/loaded to/from a file. Put in it what you want (like high scores, character attributes, etc), then you can save them with SAVE "xxx:MEM", where "xxx" is the name (up to 8 characters), then load them up later like when you launch the program again.

Thanks! ^_^

Cat syrup all the way!

Youtube: http://www.youtube.com/1999oboedude
Blog: http://oboebloggo.blogspot.com

My bus driver is crazy.
(edit) My bus driver got fired.

3DS Friend Code: 2921-9087-5238 | Nintendo Network ID: OboeDude

OboeDude1999

Wait... crap. What's an array? :3

Cat syrup all the way!

Youtube: http://www.youtube.com/1999oboedude
Blog: http://oboebloggo.blogspot.com

My bus driver is crazy.
(edit) My bus driver got fired.

3DS Friend Code: 2921-9087-5238 | Nintendo Network ID: OboeDude

Please login or sign up to reply to this topic