Forums

Topic: Petit Computer

Posts 9,141 to 9,160 of 9,621

SmokedSausage

Thanks guys! Oh, @Bluerobin2 Are you still working on that one website? The PTC Community one?

EDIT:Okay, So Bluerobins solution worked, but I'm not quite understanding yours @TexMurphy . I looked up SPCOL an the in-game manual but it's not looking like that's what I need. The two things i need now that I can detect collision between any sprite and my cursor are maybe perhaps reading the data from the sprite I collided with so that can erase that sprite when the cursor collides with it. I also need to be able to move every single egg (whoops) as one group. Can I get some help?

Edited on by SmokedSausage

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

Twitter:

TexMurphy

@smokedsausage The problem with deleting a sprite is that it will error out the next time you look for that sprite number in SPHITSP. You could set up an array to track if a sprite exist or not. 1 exist or 0 doesnt exist. Each egg is called by its index number. OR you could throw the egg off the scrreen instead of deleting the sprite. You can move all the eggs as a group by a FOR loop and cycle through all the index numbers. It may be fast enough to look like they move all at once with no vsync.

Edited on by TexMurphy

TexMurphy

SmokedSausage

Thanks @TexMurphy

Okay, So me and TriforceOfKirby (from the wiki) Have been designing a web application that may turn into a desktop app someday, and I'd thought I'd let everyone have a sneak peek at it.

Here are the design "blueprints"
Homepage: https://www.dropbox.com/s/6zvu2u8unukpd10/Latest%20design.png
Community Hub: https://www.dropbox.com/s/yw5j16ke48urg2i/community%20hub%20b...
Program Page: https://www.dropbox.com/s/2w65tsdngazglhf/Program%20page%20de...
The store is still being worked on and no design has been made

DreamCloud is a Steam-Like web app where you can browse the store for uploaded programs such as free programs from PTC and Windows Desktop applications. It also has a "community hub" where your Developer profile comes into place. If you are a developer, you can make one and have people follow you and get instant updates to game uploads, game updates, and blog posts made by that user (The user Game Devblog). Each program uploaded first has to go through a community "test" for quality control so that the site isn't filled with random Raycast texture edits.Then the program will be uploaded. There will be several community features such as a forum, a chat, and the ability to like, comment, or follow certain programs and developers. The Cloud is like the Steam greenlight service. This is also where your developer profile is in. From here, you can see updates to games you follow, new games released by people you follow. From here you can also submit a program for community review or update an existing game.The Cloud part still needs a new name...

So, what do you guys think? The website is currently up and running but hosted by dropbox for now. If enough people want it then I will update the site and post the link here. Or upload screenshots of what is done. We only have half of the homepage done and a little bit of the community hub.

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

Twitter:

Pixelrobin

@SmokedSausage I have the "assets" done. All thats left to do is the HTML...

yeah.

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

brizobst

Sorry if this has been covered before, but a question about arrays and multiple enemies.

Up until now, whenever I'd had multiple enemies, I've given each enemy its own set of variables. For example:

enemy 1: EX1,EY1, E1HP.. etc
enemy 2: EX2,EY2, E2HP.. etc

It gets the job done, but I feel it's a little sloppy, and was wondering if I could use my array so I just have universal variables for hit detection, like walls do for example. I'm suspecting I might have to learn about SPSETV and SPHIT, commands I've avoided. I've posted a video of my current project with QR codes (29) in the QR thread if you want to look at my code so far, but I realise it's a lot of code to scan/look through. Thanks in advance for any help!

brizobst

Gimmemorecoinz

I know off site linking may not be the best thing... but check this out!
This is a link to my blog which here I am documenting the early beginings of my Petit Computer Code interpreter which will soon Run Petit computer code!!
http://petitcomputer.wikia.com/wiki/User_blog:GimmeMoreCoinz/...

It will have a parser built in, debugging, and all kinds of things. Right now it only has a stack generator, and no program stack (For those technicaly wizards)
Anyway This is all I can do for the night so I'll be back at the solution tommorow! You can comment on my blog if you like or pm me, or email or something I do not mind. or ask me here but it does get cluttered. use @ to address me if you respond to this post so that i get an email alert ok? Thank you I hope you look foreward to this it's going to be awesome! I'm having fun with it hehe

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

Discostew

Doing some testing, I'm starting to see that using 2 GOTOs is faster than GOSUB/RETURN for jumping to one place and then back. I honestly find this weird, but then after thinking about it. 2 GOTOs means it checks a list of labels twice while GOSUB/RETURN increments the stack, writes the location, checks the list of labels once, reads the location on the stack and decrements it. Sounds like a lot more work, but just imagining having 100s of labels, I'd imagine GOTO may in the end be slower for larger programs. The length of the labels would also affect this I think. I'd have to do some major testing instead of the smaller kinds I have been doing.

Discostew

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

Traulight

What is a sprite's control number for?

Traulight

Gimmemorecoinz

Traulight wrote:

What is a sprite's control number for?

You can only refer to a sprite by it's control number. Its literally the only way to tell one sprite apart from another in your code..
if you used SPSET 5 ... for example... then tried to use SPOFS 1 ... (parameters here)
You would be MOVING sprite number 1, and not sprite number 5.
Those numbers are the programmers only means of knowing what sprite they are trying to do something to/with.
I hope that isn't too cryptic.

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

Pixelrobin

Has anyone ever ported any game and watch games? I kinda want to port some of them into one big program...

Everybody do a chirp. CHIRP.

3DS Friend Code: 3007-9228-5126

randomous

@Discostew That's pretty interesting, but like you said, it makes sense. It's basically comparing 2N against N + C, where N is the number of labels and C is the (presumably) constant time required to do the extra stuff for GOSUB. The constant time is probably large, so for a relatively few amount of labels, the 2N will be smaller. However, 2N grows faster than N + C, so (as you've already described), using 2 GOTO's will probably become slower than a regular GOSUB as your program uses more and more labels.

randomous

bigdog00

@levicjr, IT HAS BEEN OVER 3 WEEKS AND I HAVE BEEN DYING TO PLAY THE NEW RAYSPACE!!!!!!!!!!!!! When will it be released? Also, I won't be getting my new PC until next weekend (this coming weekend).

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter:

LeviCelJir

bigdog00 wrote:

@levicjr, IT HAS BEEN OVER 3 WEEKS AND I HAVE BEEN DYING TO PLAY THE NEW RAYSPACE!!!!!!!!!!!!! When will it be released? Also, I won't be getting my new PC until next weekend (this coming weekend).

It's really been that long? Wow its not done yet but it's coming.... slowly

Hi I'm Levi and I like Bloopys :^)

bigdog00

LeviCelJir wrote:

bigdog00 wrote:

@levicjr, IT HAS BEEN OVER 3 WEEKS AND I HAVE BEEN DYING TO PLAY THE NEW RAYSPACE!!!!!!!!!!!!! When will it be released? Also, I won't be getting my new PC until next weekend (this coming weekend).

It's really been that long? Wow its not done yet but it's coming.... slowly


Could I have it how it is as of now please?

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter:

LeviCelJir

bigdog00 wrote:

LeviCelJir wrote:

bigdog00 wrote:

@levicjr, IT HAS BEEN OVER 3 WEEKS AND I HAVE BEEN DYING TO PLAY THE NEW RAYSPACE!!!!!!!!!!!!! When will it be released? Also, I won't be getting my new PC until next weekend (this coming weekend).

It's really been that long? Wow its not done yet but it's coming.... slowly


Could I have it how it is as of now please?

um sorry but sadly no...

Hi I'm Levi and I like Bloopys :^)

bigdog00

LeviCelJir wrote:

bigdog00 wrote:

LeviCelJir wrote:

bigdog00 wrote:

@levicjr, IT HAS BEEN OVER 3 WEEKS AND I HAVE BEEN DYING TO PLAY THE NEW RAYSPACE!!!!!!!!!!!!! When will it be released? Also, I won't be getting my new PC until next weekend (this coming weekend).

It's really been that long? Wow its not done yet but it's coming.... slowly


Could I have it how it is as of now please?

um sorry but sadly no...

Dang. Just the campaign or just the multiplayer?

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter:

LeviCelJir

Is there anyway to make FOR go faster?
I'm trying to have something be read fast but it causes soooo muchhhh lagggg
here is the code
FOR I=0 TO 191
FOR J=0 TO 191
IF MAP(I,J)==41 THEN MAP(I,J)=1
IF MAP(I,J)==37 THEN MAP(I,J)=41
NEXT
NEXT
It's not always going btw its a one time thing at a certain time in the program

Edited on by LeviCelJir

Hi I'm Levi and I like Bloopys :^)

bigdog00

or can you tell me the code for the MP or something @leviciljir? Please? I've been dying to play it!!!

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter:

Slayer

I stumbled upon a happy accident while working on Apocalypse Rising. I removed a SPOFS that caused an error and when you shot the zombie on the screen it would respawn and the game would carry on, which is close to what I want it to do. That was interesting.

Edited on by Slayer

I have nothing really to say about myself.

Discostew

@LeviCelJir Unfortunately, reading 36k+ elements is not going to be fast. You'd probably get some speed out of it if you made your array a 1D array rather than a 2D (reducing FOR loops to 1, and rather than using 2 variables to get data from your array, you'd only use one), but then you'd have to change everything else that uses the array in its 2D form.

Discostew

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

Top

Please login or sign up to reply to this topic