The Dink Network

vision issues

December 20th 2009, 12:18 AM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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?
December 20th 2009, 12:19 AM
anon.gif
Skorn
Peasant He/Him
I Bring Tidings of Spam 
Omg! Another newbie that Ex-D might blame me for creating!!
December 20th 2009, 12:22 AM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
I'll try not to post anything too noobish
December 20th 2009, 12:25 AM
anon.gif
Skorn
Peasant He/Him
I Bring Tidings of Spam 
Try not to post too close the me, Ex-d might yell at you and accusing you of me. It happens all the time.
December 20th 2009, 12:28 AM
spike.gif
Have you tried draw_hard_map()? draw_hard_sprite() is really only reliable for adding hardness.
December 20th 2009, 12:28 AM
custom_msdink.png
MsDink
Peasant She/Her New Zealand
Tag - Umm.. tag, you're it? 
PaladinEmet someone will help u out - just hang in there (I am an idiot so can't help at all sorry lol)
December 20th 2009, 12:32 AM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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!)
December 20th 2009, 12:39 AM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
@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.
December 20th 2009, 12:46 AM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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?)
December 20th 2009, 12:47 AM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
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.
December 20th 2009, 12:52 AM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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.
December 20th 2009, 12:56 AM
spike.gif
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.
December 20th 2009, 06:40 PM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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.
December 20th 2009, 09:39 PM
knightgl.gif
zeddexx
Peasant He/Him New Zealand
I'm pretty sure I'm worth atleast SIX goats... 
the suggestions given would have worked. it must be somthing wrong with your pc.
December 21st 2009, 12:58 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
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.
December 21st 2009, 01:22 AM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
y keyboard doesn't have the section sign... would key 220 be something else?
December 21st 2009, 04:34 AM
knightgl.gif
zeddexx
Peasant He/Him New Zealand
I'm pretty sure I'm worth atleast SIX goats... 
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!
December 21st 2009, 07:42 AM
peasantmb.gif
YeOldeToasT
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
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.
December 21st 2009, 08:11 AM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
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.
December 21st 2009, 09:03 AM
spike.gif
Yeah, I just took the one I use as an example. A lot of the special keys match different numbers in different keyboard layouts.
December 21st 2009, 03:13 PM
knightgl.gif
zeddexx
Peasant He/Him New Zealand
I'm pretty sure I'm worth atleast SIX goats... 
does yeoldetoast use 2 accounts or there 2 yeoldetoasts? cuz the 2 that posted in this thread are two separate accounts.
December 21st 2009, 04:05 PM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
i DO have a pc stupid fool!

*giggles*
December 21st 2009, 04:36 PM
bonca.gif
eRwIn
Peasant He/Him Netherlands
Friendship is magic 
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?
December 22nd 2009, 05:29 PM
knightg.gif
PaladinEmet
Peasant He/Him United States
The Truth is out there 
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
December 22nd 2009, 06:36 PM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
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)
December 23rd 2009, 03:53 AM
knightgl.gif
zeddexx
Peasant He/Him New Zealand
I'm pretty sure I'm worth atleast SIX goats... 
ah... i still hate you toast.
December 23rd 2009, 03:37 PM
knightg.gif
paladinemet
Peasant He/Him United States
The Truth is out there 
this is for a completely different D-mod.

I want to keep track of the damage dink's dealt.

I don't see how.