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
»
Other Calc-Related Projects and Ideas
»
Sniper Defence or STD (sniper tower defence.)
« previous
next »
Print
Pages:
1
[
2
]
3
Go Down
Author
Topic: Sniper Defence or STD (sniper tower defence.) (Read 10217 times)
0 Members and 1 Guest are viewing this topic.
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #15 on:
October 29, 2010, 09:13:59 pm »
started working on basic enemy movement and collision checking. This is where the project starts or dies.
Is there any way to draw a line on the back buffer? without affecting the front?
Logged
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
____________________________________________________________
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #16 on:
October 29, 2010, 09:16:13 pm »
In Axe?
Line(x,y,x,y)
r
(I think)
«
Last Edit: October 29, 2010, 09:17:13 pm by Qwerty.55
»
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #17 on:
October 29, 2010, 09:17:30 pm »
it always throws me an error.
Logged
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
____________________________________________________________
nemo
LV9
Veteran (Next: 1337)
Posts: 1203
Rating: +95/-11
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #18 on:
October 29, 2010, 09:18:39 pm »
that's because line(X,Y,H,K)
r
isn't a command. you have to exchange the two buffers, draw a line, and exchange them back
Logged
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #19 on:
October 29, 2010, 09:21:07 pm »
how inefficient is that?
i hope Axe will have line(.,.,.,.)r in the future.
Logged
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
____________________________________________________________
nemo
LV9
Veteran (Next: 1337)
Posts: 1203
Rating: +95/-11
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #20 on:
October 29, 2010, 09:26:23 pm »
i think it's the most efficient way you can right now.
Logged
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #21 on:
October 29, 2010, 09:27:05 pm »
how do you switch buffers?
Logged
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
____________________________________________________________
nemo
LV9
Veteran (Next: 1337)
Posts: 1203
Rating: +95/-11
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #22 on:
October 29, 2010, 09:28:11 pm »
Exch(L3,L6,768)
Line(X,Y,H,K)
r
Exch(L3,L6,768)
Logged
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #23 on:
October 29, 2010, 09:36:40 pm »
thanks
Logged
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
____________________________________________________________
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #24 on:
October 29, 2010, 11:44:36 pm »
I was sure Axe supported back-buffer lines X.x. I'm really behind...
Logged
Munchor
LV13
Extreme Addict (Next: 9001)
Posts: 6199
Rating: +295/-121
Code Recycler
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #25 on:
October 30, 2010, 05:27:54 am »
I can't wait for the next GIF, even though Sniper 101 was cool enough
Logged
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #26 on:
October 30, 2010, 10:29:13 am »
well i got enemy movement working, but collision checting is really messed up.
Logged
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
____________________________________________________________
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #27 on:
October 30, 2010, 11:12:45 pm »
Feel free to post some code if you need help. What kind of error does occur?
Logged
Happybobjr
James Oldiges
LV11
Super Veteran (Next: 3000)
Posts: 2325
Rating: +128/-20
Howdy :)
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #28 on:
October 30, 2010, 11:55:10 pm »
nothing, that what was wrong. nothing would happen....
I got it working.
pseudo code.
Draw line/lazier (front buffer)
collision check (both buffers)
draw bad guys (in back buffer)
Display graph (3lvl gray)
Clear draw (both buffers)
it took me a while to find this was going on....
it is so easy to see in pseudo code...
Logged
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
____________________________________________________________
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Sniper Defence or STD (sniper tower defence.)
«
Reply #29 on:
October 31, 2010, 04:50:07 am »
Ah ok, glad you got it to work.
Logged
Print
Pages:
1
[
2
]
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
Sniper Defence or STD (sniper tower defence.)