ThENeWGuY's Profile
I'm the new guy who comes out of nowhere and tries to do somewhat big things. Well, actually, I'm not so new to Dink. I've even looked at the Dink Network a lot in the past years. But I was always a lurker! But any Starcraft player knows not to underestimate them...
Success! I made a new script called "blocker.c" and it basically just moves Dink to the proper location if he passes the bottom right edge. I put the script on a big blue hole sprite included with Dink and placed the sprite right where I don't want Dink to be able to move, as if it was a hard sprite. Here's the script (requires &jug global variable or to change to ints):
Thanks very much Paul! It doesn't solve the bottom of the screen hiding from touch damage thing but I think I'll just leave that in. It isn't a very big deal anyways. I'll just make sure that if there are any battles I absolutely don't want the player to be able to hide from touch damage on I won't make a bottom side open with a screenlock.
Thanks guys.
//if dink touches a sprite with this script, he will be moved to slightly to the left of that sprite //essentially used to prevent Dink from passing glitchy edges on screenlocked screens //designed to be used with the big blue hole sprite for best positioning void main( void ) { //allow touch procedure sp_touch_damage(¤t_sprite, -1); } void touch( void ) { //get Dink's position &jug = sp_x(¤t_sprite, -1); //subtract it by the distance from the hole's x to the hole's side &jug -= 25; //move Dink to the new position (which is directly to the left of the hole) sp_x(1, &jug); }
Thanks very much Paul! It doesn't solve the bottom of the screen hiding from touch damage thing but I think I'll just leave that in. It isn't a very big deal anyways. I'll just make sure that if there are any battles I absolutely don't want the player to be able to hide from touch damage on I won't make a bottom side open with a screenlock.
Thanks guys.
ThENeWGuY has released 3 files
Title | Category | Avg | Updated |
---|---|---|---|
Dink Hotel (The) | D-Mod, Romp | 7.1 | April 2nd, 2019 |
Dink Script Improvement Pack | D-Mod, Development, Miscellaneous, Add-On | 9.0 | February 25th, 2013 |
Dink Exploding Missiles Superfix | Development, Miscellaneous | N/A | January 12th, 2013 |
ThENeWGuY has written 11 reviews
Title | File | Type | Score | Date |
---|---|---|---|---|
Very Unfinished, but Cool Tech and Ideas | Relic Hunter (Demo) | Normal | 7.3 | November 16th, 2023 |
The Best Way to Script a Dmod | DinkC Syntax Highlighting for Notepad++ | Normal | 9.8 | February 10th, 2018 |
A Fun Little Mod | Atonement | Normal | 7.0 | September 16th, 2015 |
Egorapture | Dink and the Chins | Normal | 6.6 | September 16th, 2015 |
Could be funny if there was more to it | Pokemon: Bible Version | Normal | 1.6 | September 16th, 2015 |
Would Enjoy a Full Game of This | Turn-Based Fight | Normal | 6.0 | September 16th, 2015 |
Super short, but that does not mean it is bad | Happy Sunshine Land | Normal | 6.0 | August 17th, 2013 |
Amateur, but still fun | Legend of the Ancients: The Capture | Normal | 7.1 | August 17th, 2013 |
This Skeleton is a Mixed Bag | Skeleton S | Featured | 7.0 | February 18th, 2013 |
A Great and Varied Collection of Midis | Christiaan's Ultimate MIDI Oeuvre | Featured | 9.4 | February 15th, 2013 |
Skull really put his heart into this DMOD | Historical Hero II: Armageddon | Featured | 8.9 | February 7th, 2013 |