Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 14:33:15 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 2 3 [4]   Go Down
  Print  
Author Topic: BASIC movement -  (Read 1402 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
chattahippie
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 27 March, 2013, 05:21:38
Date Registered: 19 July, 2011, 04:13:49
Location: Somewhere
Posts: 358


Total Post Ratings: +27

View Profile
« Reply #45 on: 18 February, 2012, 21:20:22 »
0

Thanks so much Smiley you all have helped so much

Glad to help Cheesy

EDIT: 300 post!
« Last Edit: 19 February, 2012, 01:42:59 by chattahippie » Logged
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #46 on: 18 February, 2012, 21:21:26 »
0

By the way I like your avatar
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #47 on: 18 February, 2012, 21:22:48 »
0

Did you try the matrix-based version I sent you? Or do you just want to do a string-based mapper?
Matrix tilemapping will be definitely faster. However, the size when the map gets kinda big....
* TBO_Yeong shudders
Yeah he might be forced to rely on XCOPY or Doors CS's Zcopy function. X.x. A 12x8 matrix in storage format (in the code) is between 250 and 350 KB large, so if your game got 200 maps (even less than Metroid II), it won't even get close to fit in RAM. In addition to that such matrix in matrix file format takes around 1 KB of RAM. They're much faster for collision detection, though.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #48 on: 18 February, 2012, 21:24:53 »
0

Did you try the matrix-based version I sent you? Or do you just want to do a string-based mapper?
Matrix tilemapping will be definitely faster. However, the size when the map gets kinda big....
* TBO_Yeong shudders
Yeah he might be forced to rely on XCOPY or Doors CS's Zcopy function. X.x. A 12x8 matrix in storage format (in the code) is between 250 and 350 KB large, so if your game got 200 maps (even less than Metroid II), it won't even get close to fit in RAM. In addition to that such matrix in matrix file format takes around 1 KB of RAM. They're much faster for collision detection, though.

if it doesn't fit in your RAM, couldn't you just use noshell and archive it?
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #49 on: 18 February, 2012, 21:26:06 »
0

It doesn,t work like that. You can't just run an archived BASIC program from another one and any BASIC file has to be under 22 KB large or so to even launch at all. Even with Noshell, DCS, Mirage, etc, you'll still get an ERR:ARCHIVED error.
« Last Edit: 18 February, 2012, 21:26:33 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #50 on: 18 February, 2012, 21:28:15 »
0

wow! it would be that big! well, I don't think if I made a BASIC game, I would use that many maps anyways Tongue And even if I did make a BASIC game, I doubt it would be ANY where close to how AMAZING your games are! You are my BASIC hero Smiley
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #51 on: 18 February, 2012, 21:37:22 »
0

Lol thanks. But yeah most of my games ended up pretty big since in the past so many other games were too short. Big frown (they usually used one pic per map)
« Last Edit: 18 February, 2012, 21:37:38 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Yeong
Eternally Young Scarlet Moon
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Yesterday at 01:44:48
Date Registered: 15 October, 2010, 04:29:49
Location: Arden, NC
Posts: 3694


Total Post Ratings: +260

View Profile
« Reply #52 on: 18 February, 2012, 22:53:25 »
0

My code (and Yeong's "fixed" code Tongue ) had a small bug
I only fixed your sub( stuff Tongue
Logged

Project Redemption....

My project progresses:HERE
My Pastebin stuffs:HERE
Check your rate: HERE
My Animations: HERE
Spoiler for Images :D:

ノ◕ヮ◕)ノ:・゚ PENGUIN WAVE!!:„ø¤º°¨ ¨°º¤KEEP THE PENGUIN GOING ¸„ø¤º°¨ ¨°º¤øº LETS GO PENGUIN !¤¤º°¨¨°º¤øº¤ø„¸¸ø¤º°¨„ ø¤º°¨¨°º
chattahippie
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 27 March, 2013, 05:21:38
Date Registered: 19 July, 2011, 04:13:49
Location: Somewhere
Posts: 358


Total Post Ratings: +27

View Profile
« Reply #53 on: 18 February, 2012, 23:05:44 »
0

My code (and Yeong's "fixed" code Tongue ) had a small bug
I only fixed your sub( stuff Tongue

lol I know, I was joking, I know it was my fault
Logged
jsj795
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 26 April, 2013, 03:43:03
Date Registered: 28 July, 2009, 22:10:35
Location: __̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.___
Posts: 1087


Total Post Ratings: +81

View Profile
« Reply #54 on: 19 February, 2012, 04:43:44 »
0

be careful with making string-based map, because as the string gets longer, the more "bottom" you're in a map, the slower it gets since BASIC checks from the beginning of the string to the end of the string for the sub( routine
Logged



Spoiler for funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2613

View Profile WWW
« Reply #55 on: 19 February, 2012, 06:40:56 »
0

Yeah true that's an issue too. I recommend splitting the maps in 128 character chunks or something. Smaller strings are easier to work with anyway since the PRGM editor is 16x7, so you don't need a map editor at all.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: 1 2 3 [4]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.274 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.