Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / DBP models and other help

Author
Message
Bashram
12
Years of Service
User Offline
Joined: 26th Oct 2013
Location:
Posted: 26th Oct 2013 19:18
Hey, My name is Josh and like many others, I have a video game design class at my school. We are using DarkBasic Pro and using the whole Carbonade project to guide our game. Personally I don't believe my teacher knows too much about the program to help us make games that we desire. My game idea is a bit off topic from the "promoting healthy drinks" but my teacher is lenient with that.

My first question is about models. I really don't want my player to be a shape like a sphere or a cube, but the only model my school provides for use is a completely black penguin that doesn't even have a walking animation. I've had trouble finding a model online that I can download for free. My most preferred model would be an elf character with a bow that has a walking animation and a jumping animation, but really any human-like model that is free, I'll take over a cube or a cylinder. Anyone can let me in on a website that has a free model download of what I'm looking for?

My second question is a coding question. My teacher has explained to us how to use the arrow keys to move our player around the map, but I want to be using the WASD keys. Our code looks like:

if upkey() = 1 then move object 1, +10

(I'm not at school and currently don't have the code accessible so that may not be exactly what it looks like, but very close) Then I changed the code to look like:

if inkey$ = "w" = 1 then move object 1, +10

This change has allowed my character (shape) to move forward using the W key, but I can no longer move forward and turn simultaneously using W and D. using the D key will turn my character, but not at the same time of moving forward. I asked my teacher if he knew what I was doing wrong and he told me "I don't know, it looks correct to me" and that was the end of his help. Can someone tell me how to make WASD keys available and working smoothly in my situation?
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Oct 2013 20:13
MULTIPOST!

Good free objects are hard to find. Google can help. As for yout inout issues, check out the scancode/Keystate commands...

Login to post a reply

Server time is: 2026-07-07 01:54:13
Your offset time is: 2026-07-07 01:54:13