-->
[tutorial] Program Flow - Platformer
-->
-->
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
-->
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
[tutorial] Program Flow - Platformer
« previous
next »
Print
Pages:
1
[
2
]
3
4
5
Go Down
Author
Topic: [tutorial] Program Flow - Platformer (Read 33736 times)
0 Members and 2 Guests are viewing this topic.
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #15 on:
March 20, 2010, 07:07:33 pm »
you would use the collision detection from before, so T would contain the collision.
EDIT: Added the rest of it, hope you like it!
«
Last Edit: March 20, 2010, 09:03:03 pm by Eeems
»
Logged
/e
DJ Omnimaga
A Dream of Magic Everywhere
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [tutorial] Program Flow - Platformer
«
Reply #16 on:
March 20, 2010, 11:49:46 pm »
wow your tutorial is looking more and more nice now
I'll be sure to read it a few times once done
Logged
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #17 on:
March 21, 2010, 12:24:55 am »
Thanks! Well it's pretty much done now, I just need a few routines and then I might write a little more. Also, i'm so glad I am an admin so I can do that with [html] tags, or else it would have never looked the way it does :p I might package a help file if I ever make enough tutorials.
If anybody wants a tutorial on something, suggest it and I might make it.
Logged
/e
DJ Omnimaga
A Dream of Magic Everywhere
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [tutorial] Program Flow - Platformer
«
Reply #18 on:
March 21, 2010, 12:48:52 am »
true, HTML tags can be good sometimes ^^
Logged
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #19 on:
March 21, 2010, 01:15:47 am »
Yeah it was very helpful :p
Logged
/e
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: [tutorial] Program Flow - Platformer
«
Reply #20 on:
March 21, 2010, 10:59:00 am »
That looks great Eeems! I can't wait to read it!
«
Last Edit: March 21, 2010, 10:59:08 am by ztrumpet
»
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: [tutorial] Program Flow - Platformer
«
Reply #21 on:
March 21, 2010, 11:24:52 am »
Hey that looks really nice! I can whip up some map maker code, but without Decimal numbers data manipulation it might look kind of convoluted/hard to read? What were you thinking?
Logged
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #22 on:
March 21, 2010, 03:22:18 pm »
Thanks!
Well I was kind of thinking just a basic, read from L1 the map data using your data compression method. You can write up a tutorial on how to use it and I'll put it in there. I guess it would be best to put the easiest to understand one in there.
Logged
/e
DJ Omnimaga
A Dream of Magic Everywhere
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [tutorial] Program Flow - Platformer
«
Reply #23 on:
March 21, 2010, 03:24:45 pm »
how many tiles at once in a map can be used by this compression method?
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: [tutorial] Program Flow - Platformer
«
Reply #24 on:
March 21, 2010, 03:37:03 pm »
Up to 16 with my current compression method, but you could double it without much loss of compression. I'll get working on the tutorial real quick like
Logged
DJ Omnimaga
A Dream of Magic Everywhere
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [tutorial] Program Flow - Platformer
«
Reply #25 on:
March 21, 2010, 03:46:47 pm »
Doesn't sound too bad, altough my maps would need to not be too complex (at least, not as complex as Reuben Quest forests
)
You should maybe post a tutorial and have Eeems edit the HTML for it
Logged
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #26 on:
March 21, 2010, 04:11:45 pm »
Yeah just post the tutorial and I'll edit it to use the HTML and add it to the first post.
Logged
/e
DJ Omnimaga
A Dream of Magic Everywhere
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: [tutorial] Program Flow - Platformer
«
Reply #27 on:
March 21, 2010, 04:15:34 pm »
I had thoughts about enabling HTML for staff before but that might mean more risks of accidentally messing up, noticing a post located in the Trash Bin subforum earlier (that I removed)
, staff would need to make sure to only use hTML when absolutely needed, like tutorials, and test their stuff first, in case
«
Last Edit: March 21, 2010, 04:16:18 pm by DJ Omnimaga
»
Logged
Eeems
Mr. Dictator
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 6270
Rating: +319/-36
little oof
Re: [tutorial] Program Flow - Platformer
«
Reply #28 on:
March 21, 2010, 04:23:12 pm »
Yeah, I did all my development with komposer and tested it with firefox first. Actually, my system is pretty good for using in any tutorial, you can just change the images/colors to suite your needs. All it uses is a little CSS to define all the <div>'s that I use to seperate the content.
Logged
/e
_player1537
Guest
Re: [tutorial] Program Flow - Platformer
«
Reply #29 on:
March 21, 2010, 04:36:36 pm »
also I noticed:
0->Z
0->V
0->S
0->T
For(A,0,7
Z+(8-A*(pxl-test(X-1+A,Y)))->Z
V+(8-A*(pxl-test(X+8+A,Y)))->Z
S+(8-A*(pxl-test(X,Y-1+A)))->S
T+(8-A*(pxl-test(X,Y+8+A)))->T
End
should one of those lines store to V instead?
(also I couldn't put the code in code brackets because it wouldn't show the bold correctly)
Logged
Print
Pages:
1
[
2
]
3
4
5
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
[tutorial] Program Flow - Platformer
\n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t
%body%<' + '/textarea>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
Max characters: 20000; characters remaining:
...<' + '/span><' + '/span>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '
', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '
%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject% (Read 33736 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "
Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 162, iCurBoardChildLevel: 1, sCurBoardName: "Axe", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 162, iTopicId: 4317, sSessionId: "b519a85e45b659105d77ccbcabdbde72", sSessionVar: "eec5548609c3", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } function tick2() { if (typeof(document.forms.quickModForm) != "undefined") { calcCharLeft2(); setTimeout("tick2()", 1000); } else setTimeout("tick2()", 800); } function message_onkeyup() { if (typeof(document.forms.quickModForm) != "undefined" && typeof(document.forms.quickModForm.message) != "undefined") { document.forms.quickModForm.message.onkeyup = function onkeyup(event) { storeCaret(this); calcCharLeft2(); }; } else setTimeout("message_onkeyup()", 800); } message_onkeyup(); function calcCharLeft2() { var maxLength = 20000; var oldEditor = "", currentEditor = document.forms.quickModForm.message.value; if (!document.getElementById("editorLeft2")) return; if (oldEditor != currentEditor) { oldEditor = currentEditor; if (currentEditor.replace(/\r/, "").length > maxLength) document.forms.quickModForm.message.value = currentEditor.replace(/\r/, "").substring(0, maxLength); currentEditor = document.forms.quickModForm.message.value.replace(/\r/, ""); } setInnerHTML(document.getElementById("editorLeft2"), maxLength - currentEditor.length); } // ]]>-->