Got bored so I combined @Calc84maniac's Raycaster with his Raytracer.
It is SLLOOOWWWWW but is it something you'd like to see implemented in Minecraft DS? As a toggleable option?
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.
Got tired of programming Minecraft stuff so I got bored and made an interpreter. A VERY VERY basic language I call SimpleBASIC. The commands:
OUT<Text
Prints text on the screen
INS>String ID
Inputs a string
INV>Variable ID
Inputs a variable
SCLR
Clears the screen
SLO<Text
Prints text on hte screen, but the next command will be on the same line. Same as PRINT "Text";
VCLR
Clears the variables
GCLR
Clears the graphics
BUT[Button ID]
Waits for you to press a certain button
SLP[Seconds]
Waits for an amount of time
SND[Sound]
Plays a sound effect
STILL TO COME:
ADD[Variable,Variable]
SUB[Variable,Variable]
MUL[Variable,Variable]
DIV[Variable,Variable]
POW[Variable (base),Variable (exponent)
WHEN (condition) DO[another command]
DRAW._DOT X,Y,Colour
DRAW.LINE X1,Y1,X2,Y2,Colour
DRAW._BOX X1,Y1,X2,Y2,Colour
DRAW.CRCL X,Y,Radius,Colour
It has a functional interface, and I have already made a few basic programs. Should I continue? Is this a waste of my time? Do you want the QRs? Does this sound really dramatic? Will I ever run out of questions?
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.
Huzzah! Got the level editor set up so now I can add and place entities into the user-made levels (without having to manually add them externally). Also, I have implemented the dreaded appearing/disappearing blocks. Won't those be fun to deal with....hehehe.....
Wrapping thing up is a phrase usually used when completion is getting very close. There are still a number of things that must be dealt with that I have yet to touch, or even conceptualize because I've been busy with what I currently have planned out in my head. I don't expect this to be finished before the end of the year, at least from what I've examined.
How viable would it be to use sprites and CHRSET as a sort of pixel buffer which could dump up to 256 pixels to the screen at a time instead of drawing on the GRP for something like 3D drawing? You know, have some sprites set up in a grid that don't move (all scaled to 200% to effectively cut the resolution to 1/4), have an array which represents the screen (and since there are only 16 colors, you can reduce the number of stores by storing multiple values in a single variable), and dump the values into those sprites using CHRSET (there would be 192 calls for a full screen with sprites scaled to 200%). Would this just be ridiculously slow? I'm certain many people have tried this before, and there's probably a reason why it's not usually done... I just wanted an opinion on it. I thought maybe the speed of sprites would counteract the slowness of all those CHRSETS and assignments. I'd love to try it myself, but I'm ridiculously busy at the moment.
Anyway, sorry for my silly suggestions. I just wanted to know if anyone has tried this before, and what the results were.
Hello there,
I know that this is a petit computer topic, but anyway, here is a very early version of what once was "Prisiorrento!" for 3DS:
Just to share how making things on "Petit computer" motivated me to go to a deeper programming language.
I am using a (not so) very basic graphic library: Allegro.
PS: Sorry if I misspelled anything or any other grammar errors.
"A vingança nunca é plena, mata a alma e a envenena" - Seu Madruga
Presidente, CEO, Programador e único empregado da Peidosoft.
https://www.facebook.com/nonamefornowsoft
@Bluerobin2 I was mainly making SimpleBASIC for myself; I was just wondering if anyone else wanted it. If you don't want to work on SM, then I'll take the QRs. For me, I think it's cool and you should continue, but don't feel forced to work on it. That's part of the reason I'm taking a break from Minecraft DS. I felt it was like a "job" and I had to do it.
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.
I have a question. For my interpreter, I have a command like this:
WHEN (Data type)[(ID)] (comparing operator) (ID) DO{
Commands here
}
It's sort of an IF...THEN statement but it's WHEN...DO. It's similar to the C++ format.
if(stuff){
do stuff
}
An example would be:
WHEN VAR[0] = 1 DO{
OUT<Cool!
}
That means that if the variable in slot 0 equals the variable in slot 1 then print "Cool!" My question is how would I pull this off? I know of a way but it'd be very slow. If you use STR[] then it compares 2 strings.
EDIT: Nevermind. I got it working. Here's what I just used:
INS>0
INS>1
WHEN STR[0] = 1 DO{
SND[1]
OUT<Yes! They're the same!
}
SLP[2]
BUT[16]
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.
@IAmAPerson I made a text editor which could be useful for people who are trying to make interpreters, you can check it out in the QR sharing thread, it should be the first post on page 79.
Hello,
Im going to make a new game in petit computer.
But i dont know wich Genre i could choose. I like simulation games like Animal crossing, but i think im
not able to program that.
Can someone give me a suggestion?
Thanks
2 new commands: SETV and MATH.
SETV sets a value to a variable/string.
SETV STR[0];Phil
Sets the string "Phil" in string slot 0.
Math executes a math command.
MATH 0;+;1;2
Adds the variables in slots 0 and 1 and stores the answer in slot 2.
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.
Pfft, well my idea is totally useless. I get about 5 frames per second WITHOUT any 3D processing AND only a quarter of the resolution (I'm just setting pixels based on the global timer). Well... oh well. I guess CHRSET is just too expensive.
Pfft, well my idea is totally useless. I get about 5 frames per second WITHOUT any 3D processing AND only a quarter of the resolution (I'm just setting pixels based on the global timer). Well... oh well. I guess CHRSET is just too expensive.
I didn't quite get what you were suggesting in your previous post. Were you talking about plotting pixels by forming strings from them to be used for CHRSET, which then reflect what you see on the screen because the sprites use them?
This is kinda off topic but, is it wrong that since I play Minecraft so much my fingers are always on keys A,W,S,and D
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?
This is kinda off topic but, is it wrong that since I play Minecraft so much my fingers are always on keys A,W,S,and D?
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?
Forums
Topic: Petit Computer
Posts 7,081 to 7,100 of 9,618
Sorry, this topic has been locked.