vision issues
ok, I'm a new developer working on my first mod. I itend it to feture using visions to get the most out of one screen. heres my problem: I change visions to v1 (adding a couple of sprites to the screen) when I switch back to v0 the sprites dissapear, but thier hardbox remains. I've tried reloading the screen, draw_hard_sprite, then gave up and gave each sprite to be added (or subtracted) code to do so (but the wait(); proc. made dink walk laggy) anybody have any suggestions?
oh, and I saw something in Dink Help about bringing up a console where you can put in dinkc commands in-game, but I can't get it to work. advice?
oh, and I saw something in Dink Help about bringing up a console where you can put in dinkc commands in-game, but I can't get it to work. advice?
Omg! Another newbie that Ex-D might blame me for creating!!
I'll try not to post anything too noobish
Try not to post too close the me, Ex-d might yell at you and accusing you of me. It happens all the time.
Have you tried draw_hard_map()? draw_hard_sprite() is really only reliable for adding hardness.
PaladinEmet someone will help u out - just hang in there (I am an idiot so can't help at all sorry lol)
actually... i don't think so (didn't think using draw_hard_map(); would work on sprites)
I'm not at my PC so I can't tell, i'll try it and get back to you.
what about the console? the dink help talked about it, but didn't say how to use it (it'd sure help to try to figure out what's going on!)
I'm not at my PC so I can't tell, i'll try it and get back to you.
what about the console? the dink help talked about it, but didn't say how to use it (it'd sure help to try to figure out what's going on!)
@Skorn: All I do is request an IP check on new users. And the most recent one proved to be you.
@Paladin: Welcome to the DN! Try scratcher's suggestion, it should do the trick for you.
@Paladin: Welcome to the DN! Try scratcher's suggestion, it should do the trick for you.
thx ex death!
what about console though? having that set to a key would help with so many things (a d-mod where all you do is write in console to solve puzzles?)
what about console though? having that set to a key would help with so many things (a d-mod where all you do is write in console to solve puzzles?)
The only console in Dink that I remember is pillbug's use of one, not sure if he created it or even if its a downloadable file here right now.
as I said, I'm not at my pc, so I can't quote you chapter and verse; but I saw it in the help file included in the download from this site (in th development folder). I tried to download it to this computer, but it's vista and can't read it.
There is a command for bringing up the console, you just have to create a script for it. Eg:
// key-220.c
void main()
{
show_console();
wait_for_button();
}
The wait_for_button() is there just so the escape menu doesn't pop up when you close the console. Key-220.c would be ยง, but you can change that to any key, just check which number is which key in debug mode while playing the game.
// key-220.c
void main()
{
show_console();
wait_for_button();
}
The wait_for_button() is there just so the escape menu doesn't pop up when you close the console. Key-220.c would be ยง, but you can change that to any key, just check which number is which key in debug mode while playing the game.
I tried something like that (without wait_for_button(); ) but it didn't work. I'll try the sample code you provided and see what happens.
EDIT: tried the code provided (even on the same key!) didn't work.
EDIT: tried the code provided (even on the same key!) didn't work.
the suggestions given would have worked. it must be somthing wrong with your pc.
Hey Pal, don't listen to Zedexx. He doesn't even have a computer.
I encountered a problem similar to this at one stage, then I realised that it was because I had stamped hardness in using the hardness stamp which is persistent for different visions.
If you'd like, you could upload your mod to a site like sharebee for us to have a look at it if your problem is not resolved soon.
Make sure that the "console script" file has the same name as the key you want to activate it with. You can place it in your Dink "story" folder which means it will work with all Dmods you have/make. (You may know this already, but it helps if you don't.)
Also scratcher, that key appears as a section sign to me.
I encountered a problem similar to this at one stage, then I realised that it was because I had stamped hardness in using the hardness stamp which is persistent for different visions.
If you'd like, you could upload your mod to a site like sharebee for us to have a look at it if your problem is not resolved soon.
Make sure that the "console script" file has the same name as the key you want to activate it with. You can place it in your Dink "story" folder which means it will work with all Dmods you have/make. (You may know this already, but it helps if you don't.)
Also scratcher, that key appears as a section sign to me.
y keyboard doesn't have the section sign... would key 220 be something else?
yeoldetoast, your an ass. i DO have a pc stupid fool! how do you think i made a dmod!? i just dont have internet on my pc, thats why i use a psp! Sheesh, i bet you keep a picture of a diseased monkey, and use it as a mastabatory aid!
Fireball; I think it's supposed to be the pipe/backslash key. I just edited it to work with another key.
Sorry Zedexx, but you are quite terrible at betting. I hope you don't put money on horse races because you'd probably lose. I don't love diseased monkeys as much as you seem to do.
Though please pardon my ignorance, I didn't know the internet only reached as far as PSPs in New Zealand. Maybe in a few more years they'll extend it to personal computers. We can only hope.
Sorry Zedexx, but you are quite terrible at betting. I hope you don't put money on horse races because you'd probably lose. I don't love diseased monkeys as much as you seem to do.
Though please pardon my ignorance, I didn't know the internet only reached as far as PSPs in New Zealand. Maybe in a few more years they'll extend it to personal computers. We can only hope.
Okay, that's insulting YeOldeToasT. New Zealand DOES have computers and internet access through such technology. In fact we're quite up to date on the latest technological advancements.
Don't judge us because our government sold phoneline rights to private companies so we have to pay obscene amounts of money for a good, high speed connection.
Don't judge us because our government sold phoneline rights to private companies so we have to pay obscene amounts of money for a good, high speed connection.
Yeah, I just took the one I use as an example. A lot of the special keys match different numbers in different keyboard layouts.
does yeoldetoast use 2 accounts or there 2 yeoldetoasts? cuz the 2 that posted in this thread are two separate accounts.
does yeoldetoast use 2 accounts or there 2 yeoldetoasts? cuz the 2 that posted in this thread are two separate accounts.
dO yOu MEan ThE CApItaLS?
dO yOu MEan ThE CApItaLS?
ok: i don't know what the pc i was using at the time's problem was, but that code works perfectly on mine (thanks )
as for if my hardness issue is fixed... in my various attempts to fix the problem, I deleted the original! XD
i was getting ahead of myself anyway- I have to have my Levelup system up and running first I'll try to get something that barely looks like what I had running (I tried briefly, but it didn't even change visions, so I must be doing something wrong... I'll fix it) then get back to you
as for posting it to get some help... thanks, but I kinda want to do my first with minimal help. It would never have occored to me to think of the sprites spawned as part of the map! I should be fine with the information I have now, and if something comes up, I'll post the problem
thanks again! I look forward to releasing it (my level system's almost done) It's gonna be called "get lost!" and feature dink... getting lost.
the level system uses a small class-based mechanic to further character customization, it will include an unlockable arena mode, and a small maze to get lost in with four bosses (all compressed into one screen!)
all I need to do with the level system is add in my summon spell variations (based on rabidwolf9's spell) then apply them to monsters (so monsters are endlessly upgradeable) I just downloaded paul pliska's shooting enemy script, which I'll try to encorperate
as for if my hardness issue is fixed... in my various attempts to fix the problem, I deleted the original! XD
i was getting ahead of myself anyway- I have to have my Levelup system up and running first I'll try to get something that barely looks like what I had running (I tried briefly, but it didn't even change visions, so I must be doing something wrong... I'll fix it) then get back to you
as for posting it to get some help... thanks, but I kinda want to do my first with minimal help. It would never have occored to me to think of the sprites spawned as part of the map! I should be fine with the information I have now, and if something comes up, I'll post the problem
thanks again! I look forward to releasing it (my level system's almost done) It's gonna be called "get lost!" and feature dink... getting lost.
the level system uses a small class-based mechanic to further character customization, it will include an unlockable arena mode, and a small maze to get lost in with four bosses (all compressed into one screen!)
all I need to do with the level system is add in my summon spell variations (based on rabidwolf9's spell) then apply them to monsters (so monsters are endlessly upgradeable) I just downloaded paul pliska's shooting enemy script, which I'll try to encorperate
Zeddexx, the Dink Network isn't case sensitive, so you can type your name with as many letters capitals or lowercase as you want, it doesn't change anything. It works on profile pages, too! (Just capitalise random letters in your name in the address bar/URL when you go to your profile)
ah... i still hate you toast.
this is for a completely different D-mod.
I want to keep track of the damage dink's dealt.
I don't see how.
I want to keep track of the damage dink's dealt.
I don't see how.