Author Topic: Features Wishlist  (Read 692459 times)

0 Members and 8 Guests are viewing this topic.

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Features Wishlist
« Reply #2595 on: October 04, 2011, 06:15:34 pm »
Code: [Select]
DispGraph{r}
wait, is that the superscript r, or am i doing something wrong?
I did : {r} (open curly brace, superscript r, closed curly brace)
but I get an "error: invalid token"

yeah, it's the superscript r, with no curly braces.


I suck at smooth scrolling. so i would just have 8 pixels taken off from every side so i can just draw sprites and use horizontal and vertical.

hmm...maybe I should write a smooth scrolling tutorial, like the engine I used in Spacky/Fantastic Sam?


Idea:  Only display/update a square/rectangle part of the screen.
         It would make for insanely easy smooth scrolling games.

How would that help smooth scrolling games?

Well, if you had the map loaded into a picture that was bigger than the screen (if you weren't using a tilemap, just had a really big picture), then you could just render a 96*64 rectangle that is the screen. TBH, classical smooth scrolling techniques are actually really easy once you get the hang of it.
« Last Edit: October 04, 2011, 06:20:13 pm by buttsfredkin »
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2596 on: October 04, 2011, 06:22:27 pm »
But that isn't related to only updating part of the screen at a time right?

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2597 on: October 04, 2011, 06:25:53 pm »
No it isn't :P
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2598 on: October 04, 2011, 06:27:56 pm »
Lol ok thats why i was confused, because you said updating parts of  the screen would make for easier smoothscrolling :P

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2599 on: October 04, 2011, 06:29:52 pm »
Oh it would help me.
i thought u were talking about butts.

Not sure, but it should be much faster.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2600 on: October 04, 2011, 06:32:11 pm »
Hmmm how would updating only part of the screen make smoothscrolling faster?

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Features Wishlist
« Reply #2601 on: October 04, 2011, 06:37:18 pm »
I dunno about faster, but it'd prolly be easier for beginners to pick up.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2602 on: October 04, 2011, 06:39:53 pm »
for smoothscrolling or in general?  Because I still can't see where updating only a single part of the screen would have any benefit for smoothscrolling o.O

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Features Wishlist
« Reply #2603 on: October 04, 2011, 06:40:42 pm »
Hmmm how would updating only part of the screen make smoothscrolling faster?

I can't see any reason why it wouldn't because you don't have to send the data to the screen. That said, I can't see how you might do it since smoothscrolling tends to involve updating the entire screen...
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2604 on: October 04, 2011, 06:44:15 pm »
Yeah that's what i mean, smoothscrolling pretty much requires that you update the entire screen, so I don't see how the functionality to update part of it would help at all.  I am a bit unsure of how the LCD works too, is it simple to update widths that are not at an even byte offset?

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2605 on: October 04, 2011, 06:58:06 pm »
I guess i am not making much sense.

When I am just screwing around with concepts, i do scrolling with drawing 8*8 sprites and using horizontal +/-
With my quick, easy, ugly, and small (source) style, the 8 left and 8 right pixels are messed up.

About the speed change... I was kinda just saying that in general, for small parts of the screen updating, it would be faster. imagine a cross hair... "+" (4 by 4) .  if everything but it couldn't move, and the cross hair could only move one or two pixel(s), you could just update an 8*8 section of the screen at key presses getkey(1-4)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2606 on: October 04, 2011, 07:00:44 pm »
No i understand everything you are saying, i am merely commenting on your original idea post, where you connected updating part of the screen and smoothscrolling.  Also, if you only have a single crosshair moving around, why would you have the need for such speed?  Crosshairs don't take that much processing power to begin with.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2607 on: October 04, 2011, 07:08:20 pm »
I was merely making an example.


but just to prove you wrong... :p

how about a target shooting game where the whole screen would on;y be updated if 2nd was pressed.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2608 on: October 04, 2011, 07:33:03 pm »
You would hardly need all the extra processing power just to move around the cursor though.  What i am saying is that there are going to be few circumstances where there is only 1 thing moving around the screen, but there is a lot of processing power needed to move that thing around.  And because of this, I don't think this feature of updating only parts of the screen should be included into Axe.  It seems more of the specific type of command that would be much better suited to be an Axiom.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2609 on: October 04, 2011, 07:44:08 pm »
How about an RGP then?  Many don't have more than one moving character in most parts of the game.  Like Poke'mon w/o people walking in random directions.

I feel as though i just won :D.  At least untill you respond :P
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________