Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ikkerens

Pages: 1 ... 5 6 [7] 8 9 ... 26
91
Web Programming and Design / Re: HTML Games with JavaScript
« on: March 09, 2011, 01:52:02 pm »
Ah cool, try to not advertise another forum, though, especially not via PM, because that would be against the rules. Game is fine, though.
Oh, ok... Well, I'm linking to the other forum because they didn't give me the rights to post it elsewhere, but I thought it was worthy to at least notify the people here that it exists ;)

As for JS personally the thing I disliked was how one single tiny mistake like forgetting a ; could screw the code up, how sometimes we got errors for absolute no reason and how other times when we should be getting one, we don't get any, plus the fact it's so hard to get a JS code to work properly in all browsers. That said I had the ; issue occur in CSS styling too, so maybe it's something with web dev. :P Otherwise, my argument like with TI-BASIC stands: It's not the language used that matters the most, but the end result. I personally dislike judging a game solely based on its file size or language.

Completely agree with that ^^

92
Web Programming and Design / Re: HTML Games with JavaScript
« on: March 09, 2011, 01:46:41 pm »
personally, I forgot many of my arguments (I used JS a loooong time ago) but I do remember it's form of OOP was somewhat weird and weak, and it's syntax is weird.  that's all I remember personally.

also, I was referring to that earlier post on page one about how a belgium programmer said that JS is the worst programming language ever.

EDIT: also, where's the language war?  can't I say I don't like JS?
By default, javascript isn't meant to be OO, but it depends on the programmer on how to implement it.
I do agree with the fact that it has a weird syntax, but it has ALMOST the exact same syntax as php, so you're calling PHP weird as well? I know thousands of people who would hate you for saying that ^^

93
Web Programming and Design / Re: HTML Games with JavaScript
« on: March 09, 2011, 01:43:32 pm »
Ashbad, please do not start a language war here (unless you were just quoting an old post). Although it's a major PITA to get to work, it looks like here we got an example of what kind of stuff can be done in it.
Which are quite amazing though.
I have been given the right to invite some people as well.
Well, not immediatly, but soon ^^

94
Web Programming and Design / Re: HTML Games with JavaScript
« on: March 09, 2011, 01:37:49 pm »
yeah, I agree with that belgium programmer, it's the worst language ever.  blah.  screw JS.
He only quoted something, but people saying so don't bother trying to get it to its full potential.
And what arguments do you have for saying its the worst language ever?
I can easily outdo effects created using flash or java using it.

95
Web Programming and Design / Re: HTML Games with JavaScript
« on: March 09, 2011, 01:26:44 pm »
(Yay, I seem to be very good at necroposting LOL)
Anyway, I have some progress on this subject...
A friend of mine has currently managed to get his JavaScript based MMORPG in the closed béta phase.
As I am invited to the closed béta atm (I'm the only one except staff that has access), I was allowed to post some things on the forums.
You can check them out here:
http://forums.vanthia.com/viewtopic.php?id=389

96
Web Programming and Design / Re: Div problems
« on: March 08, 2011, 12:15:44 pm »

97
Web Programming and Design / Re: Div problems
« on: March 08, 2011, 11:52:32 am »
Lordy i think thats a bit beyond my level...my teacher might get suspicious. I decided to just put a big header on top of the blank space.
Oh, its a school project, nevermind then :P
I honestly don't know how to center it then xD

98
Web Programming and Design / Re: Div problems
« on: March 08, 2011, 11:31:07 am »
You could do that using JavaScript...
Code: (HTML/Javascript) [Select]
<div id="myDiv" style="position:absolute;width:50px;height:50px;"></div>
<script type="text/javascript">
function $(e) { return document.getElementById(e); }

$('myDiv').style.left = ( (screen.width / 2) - ( $('myDiv').style.width / 2 ) );
$('myDiv').style.top = ( (screen.height / 2) - ( $('myDiv').style.height / 2 ) );
</script>
Haven't tested it, but should work.

99
Web Programming and Design / Re: Div problems
« on: March 08, 2011, 11:09:27 am »
You are using position:relative I see,
relative looks at the last item in the HTML, and check the coordinates from there...
You might consider using position:absolute, as it then uses the coordinates from the top left of the screen :)

Hope that helps ;)

100
Computer Programming / [Java] What's going wrong?
« on: March 02, 2011, 02:29:08 am »
Well, the Android version of Splut is slowly coming along, if the language would stop being so pricky  :mad:
Anyway, I was wondering if anyone could help me with this,

I have 2 screens (XML format, named gamescreen & main), and at the moment I'm testing it.
Both buttons work, unless I return to the previous screen.
(Basically, I press 1 button to go to gamescreen, works, press the button to go back to the main, works, try to go the gamescreen again, fails.)
Code:
Code: (java) [Select]
package com.walotech.splut;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class Main extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
     //Prepare screen
     //Set landscape orientation
     setRequestedOrientation(0);
     //Remove title bar
     requestWindowFeature(Window.FEATURE_NO_TITLE);
     //Remove taskbar
     getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
    
     //Load XML for UI
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        //Assign buttons
        findViewById(R.id.Lev1Start).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
setContentView(R.layout.gamescreen);
       findViewById(R.id.gbck).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
setContentView(R.layout.main);
}
       });
}
        });
        findViewById(R.id.makeblue).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
Button StartButton = (Button) findViewById(R.id.Lev1Start);
StartButton.setBackgroundColor(Color.BLUE);
}
        });
    }
    
    public void AB_main() {
        findViewById(R.id.Lev1Start).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
setContentView(R.layout.gamescreen);
       AB_gamescreen();
}
        });
        findViewById(R.id.makeblue).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
Button StartButton = (Button) findViewById(R.id.Lev1Start);
StartButton.setBackgroundColor(Color.BLUE);
}
        });
    }
    
    public void AB_gamescreen() {
     findViewById(R.id.gbck).setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View v) {
setContentView(R.layout.main);
AB_main();
}
        });
    }
}


Edit:
Already figured it out, seems I was redefining something that was already given in a function ;)

101
Web Programming and Design / Re: Tobert´s WebAccess
« on: February 28, 2011, 02:56:22 am »
Indeed, but still, it teaches you a valuable security lesson ;)

102
Web Programming and Design / Re: Tobert´s WebAccess
« on: February 28, 2011, 02:37:04 am »
Actually, not to be a downer, or to stop you from working on this project or anything, but there are already multiple things out there that do this. Most hosts have a file explorer in their control panel, as well as text-editing capabilities. It's still a great project to work on though :)

I once created one, but I lost it.
Anyway, I still learned alot from creating it.

And it also thought me a security lesson:
Don't let ppl create .php files on your demo server...
Lost the entire project due to that >.>

103
Gaming Discussion / Re: [SC2] A suprising ending
« on: February 19, 2011, 02:20:46 am »
Yeh, you MUST use multiplayer custom, not singleplayer custom, or you won't get the achie & portrait.
Btw, its 1v7 FFA, not team.
But il upload the replay once I access my gaming computer, have to work in 40 mins.

104
Gaming Discussion / Re: [SC2] A suprising ending
« on: February 19, 2011, 01:51:22 am »
Ah maybe. If only I was able to reach Ultras... I always get owned before I do. Also it's so hard to beat Collosus+Stalkers+sentries because you have to place corruptors in a way that they won't get hit by stalkers. X.x

By the way has anyone ever managed to solo 7 insane computers in a 1v7 team match? O.O

I have.
Is there any way you can view my profile online to view my achievements?
If so, look up Europe-Ikkerens and post the link here ;)

105
Miscellaneous / Re: Computer Specs
« on: February 16, 2011, 12:17:15 pm »
inferior:

Windows XP Home - 32 bit
Intel core at 1.86Ghz
504MB RAM
Graphics: Radeon 5570
40GB HDD but 10TB external.


Ugh... sounds painful :/
I'd die with such a computer lol

Pages: 1 ... 5 6 [7] 8 9 ... 26