Welcome to Junk Jack Forum!  

• We need your support! 


Rendering in game

This is the general forum concerning Junk Jack Retro
  • Author
  • Message

TheOneandOnly

Offline

  • Posts: 36
  • Joined: Thu Aug 01, 2013 1:33 am

Rendering in game

PostThu Aug 01, 2013 2:48 am

Is the world always rendered or not. I was thinking like most games they have a render distance and chunks. I was wondering if in JJX if i drop an item on the other side of the world and then walk to the opposite side and the item delete timer is 5 minutes will it still be there over 5 minutes because its un-rendered or not in the chunk.

Chris

Offline

User avatar
  • Posts: 8807
  • Joined: Wed Dec 21, 2011 8:25 pm
  • Location: USA

Re: Rendering in game

PostThu Aug 01, 2013 2:50 am

Junk Jack was always all rendered.
So I would assume JJX will be the same.
Though, items do have a time-limit on how long they can be sitting.
If you leave for 10 minutes the stuff you dropped will be gone.

Edit: Since JJX worlds will not be infinite, there is no reason to have chunks.
But games like Minecraft require chunk-loading, otherwise your computer would kill itself.
FOLLOW & CONTACT ME ON TWITTER
1,400+ days on the forum, and with Junk Jack coming to PC I'll be on almost every day now!
AGE POLL
PIE

TwelveFoot

Offline

User avatar
  • Posts: 16171
  • Joined: Sun Nov 27, 2011 6:36 pm
  • Location: Ohio, USA

Re: Rendering in game

PostThu Aug 01, 2013 2:53 am

:sisi: What he said.

Chris wrote:But games like Minecraft require chunk-loading, otherwise your computer would kill itself.

Image
1. Junk-Jack-Wiki
2. The world is big, 256 blocks high and 768 across.
3. Who is John Galt?
4. Lack of objection does not indicate consent.
5. We scream, we shout, we wail, we cry; but in the end we all must die.

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 2:54 am

:rotfl: that's my desktop staring up!
If you have any questions or comments I will be glad to help! :)

Chris

Offline

User avatar
  • Posts: 8807
  • Joined: Wed Dec 21, 2011 8:25 pm
  • Location: USA

Re: Rendering in game

PostThu Aug 01, 2013 2:55 am

On a side note, this exact reason is why I've designed my Lectric Feature the way I have.
You turn on a lever from one side of the world, then either instantaneously or after just a few seconds a piston will pull back on the other side of the map.
FOLLOW & CONTACT ME ON TWITTER
1,400+ days on the forum, and with Junk Jack coming to PC I'll be on almost every day now!
AGE POLL
PIE

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 2:56 am

:sisi: cause it's already rendered.
If you have any questions or comments I will be glad to help! :)

TheOneandOnly

Offline

  • Posts: 36
  • Joined: Thu Aug 01, 2013 1:33 am

Re: Rendering in game

PostThu Aug 01, 2013 2:57 am

XD i love the picture and i was guessing it was always gonna be rendered.

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 2:58 am

It's so true :asd:
If you have any questions or comments I will be glad to help! :)

TwelveFoot

Offline

User avatar
  • Posts: 16171
  • Joined: Sun Nov 27, 2011 6:36 pm
  • Location: Ohio, USA

Re: Rendering in game

PostThu Aug 01, 2013 2:58 am

I love the guy's expression in the picture.
1. Junk-Jack-Wiki
2. The world is big, 256 blocks high and 768 across.
3. Who is John Galt?
4. Lack of objection does not indicate consent.
5. We scream, we shout, we wail, we cry; but in the end we all must die.

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 2:59 am

What's with the penguin?
If you have any questions or comments I will be glad to help! :)

TwelveFoot

Offline

User avatar
  • Posts: 16171
  • Joined: Sun Nov 27, 2011 6:36 pm
  • Location: Ohio, USA

Re: Rendering in game

PostThu Aug 01, 2013 3:00 am

I don't know, but it looks suspicious.
1. Junk-Jack-Wiki
2. The world is big, 256 blocks high and 768 across.
3. Who is John Galt?
4. Lack of objection does not indicate consent.
5. We scream, we shout, we wail, we cry; but in the end we all must die.

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 3:02 am

IT BURNED IT!
If you have any questions or comments I will be glad to help! :)

Chris

Offline

User avatar
  • Posts: 8807
  • Joined: Wed Dec 21, 2011 8:25 pm
  • Location: USA

Re: Rendering in game

PostThu Aug 01, 2013 3:02 am

Cuban should know :sisi:
FOLLOW & CONTACT ME ON TWITTER
1,400+ days on the forum, and with Junk Jack coming to PC I'll be on almost every day now!
AGE POLL
PIE

ddawg77

Offline

User avatar
  • Posts: 1863
  • Joined: Sun Jan 22, 2012 1:24 am
  • Location: If you're looking here, there's a 97.8% chance that you're a creeper

Re: Rendering in game

PostThu Aug 01, 2013 3:03 am

He ordered it!
If you have any questions or comments I will be glad to help! :)

Jack

Offline

  • Posts: 2104
  • Joined: Sun Oct 09, 2011 1:59 am

Re: Rendering in game

PostThu Aug 01, 2013 3:10 am

Chris wrote:Junk Jack was always all rendered.
So I would assume JJX will be the same.


I wouldn't say so. Rendering all the world would be unfeasible for any mobile device, the GPU wouldn't be able to handle so many sprites.

Don't mix rendering with where the logic of the world is stored (in memory, which nothing has to do with the actual graphics).

This image will clear things a little bit:
Image

This is the game viewport scaled down by 50% on the same hardware surface. The red bounding box is roughly what you see in a iPod5 screen viewport, everything else resides outside and it is invisible. As you can see, just few blocks are rendered outside the viewport, and they magically switch row and column when the player is moving so that from an user point of view nothing can be noticed. Same thing applies to Junk Jack. :)
Next

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron